Mock Version: 1.4.4
ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/veracrypt.spec'], chrootPath='/var/lib/mock/657099-fedora-rawhide-ppc64le-1509643758/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x3fffabf24278>timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]printOutput=True)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/veracrypt.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False
warning: Macro expanded in comment on line 77: %{version}.tar.gz
warning: Macro expanded in comment on line 211: %{_datadir}/%{name}
Building target platforms: ppc64le
Building for target ppc64le
Wrote: /builddir/build/SRPMS/veracrypt-1.21-3.fc28.src.rpm
Child return code was: 0
ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/veracrypt.spec'], chrootPath='/var/lib/mock/657099-fedora-rawhide-ppc64le-1509643758/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x3fffabf24278>timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]printOutput=True)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/veracrypt.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False
warning: Macro expanded in comment on line 77: %{version}.tar.gz
warning: Macro expanded in comment on line 211: %{_datadir}/%{name}
Building target platforms: ppc64le
Building for target ppc64le
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Jm3aTo
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf veracrypt-1.21
+ /usr/bin/mkdir -p veracrypt-1.21
+ cd veracrypt-1.21
+ /usr/bin/bzip2 -dc /builddir/build/SOURCES/VeraCrypt_1.21_Source.tar.bz2
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #1 (veracrypt-1.0f-2-no-makeself.patch):'
Patch #1 (veracrypt-1.0f-2-no-makeself.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
patching file src/Main/Main.make
Hunk #1 succeeded at 262 (offset 55 lines).
+ echo 'Patch #2 (veracrypt-1.0f-2-desktop.patch):'
Patch #2 (veracrypt-1.0f-2-desktop.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
patching file src/Setup/Linux/veracrypt.desktop
+ echo 'Patch #3 (veracrypt-1.21-dumpfullversion.patch):'
Patch #3 (veracrypt-1.21-dumpfullversion.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
patching file src/Makefile
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.h7Yig9
+ umask 022
+ cd /builddir/build/BUILD
~/build/BUILD/veracrypt-1.21/src ~/build/BUILD/veracrypt-1.21
+ cd veracrypt-1.21
+ WXCONFIG=wx-config-3.0
+ export WXCONFIG
+ pushd src
+ /usr/bin/make WX_CONFIG=wx-config-3.0 -j2
Compiling Buffer.cpp
Compiling Exception.cpp
Compiling Event.cpp
Compiling FileCommon.cpp
Compiling MemoryStream.cpp
Compiling Memory.cpp
Compiling PlatformTest.cpp
Compiling Serializable.cpp
Compiling Serializer.cpp
Compiling SerializerFactory.cpp
Compiling StringConverter.cpp
Compiling TextReader.cpp
Compiling Directory.cpp
Compiling File.cpp
Compiling FilesystemPath.cpp
Compiling Mutex.cpp
Compiling Pipe.cpp
Compiling Poller.cpp
Compiling Process.cpp
Unix/Process.cpp: In static member function 'static std::__cxx11::string VeraCrypt::Process::Execute(const string&, const std::__cxx11::list<std::__cxx11::basic_string<char> >&, int, VeraCrypt::ProcessExecFunctor*, const VeraCrypt::Buffer*)':
Unix/Process.cpp:193:4: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
    auto_ptr <Serializable> deserializedObject;
    ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from Unix/Process.h:16,
                 from Unix/Process.cpp:18:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Compiling SyncEvent.cpp
Compiling SystemException.cpp
Compiling SystemInfo.cpp
Compiling SystemLog.cpp
Compiling Thread.cpp
Compiling Time.cpp
Updating library Platform.a
Compiling Cipher.cpp
Compiling EncryptionAlgorithm.cpp
Compiling EncryptionMode.cpp
In file included from EncryptionMode.cpp:15:0:
EncryptionThreadPool.h:47:4: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
    auto_ptr <Exception> ItemException;
    ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from EncryptionMode.h:16,
                 from EncryptionMode.cpp:13:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Compiling EncryptionModeXTS.cpp
Compiling EncryptionTest.cpp
Compiling EncryptionThreadPool.cpp
In file included from EncryptionThreadPool.cpp:25:0:
EncryptionThreadPool.h:47:4: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
    auto_ptr <Exception> ItemException;
    ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/SyncEvent.h:21,
                 from EncryptionThreadPool.cpp:22:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
EncryptionThreadPool.cpp: In static member function 'static void VeraCrypt::EncryptionThreadPool::DoWork(VeraCrypt::EncryptionThreadPool::WorkType::Enum, const VeraCrypt::EncryptionMode*, VeraCrypt::byte*, VeraCrypt::uint64, VeraCrypt::uint64, size_t)':
EncryptionThreadPool.cpp:128:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <Exception> itemException;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/SyncEvent.h:21,
                 from EncryptionThreadPool.cpp:22:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Compiling Hash.cpp
Compiling Keyfile.cpp
In file included from Keyfile.cpp:14:0:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:196:61: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static void InitLibrary (const string &pkcs11LibraryPath, auto_ptr <GetPinFunctor> pinCallback, auto_ptr <SendExceptionFunctor> warningCallback);
                                                             ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Serializer.h:16,
                 from Keyfile.cpp:13:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Keyfile.cpp:14:0:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:196:99: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static void InitLibrary (const string &pkcs11LibraryPath, auto_ptr <GetPinFunctor> pinCallback, auto_ptr <SendExceptionFunctor> warningCallback);
                                                                                                   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Serializer.h:16,
                 from Keyfile.cpp:13:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Keyfile.cpp:14:0:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:214:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static auto_ptr <GetPinFunctor> PinCallback;
          ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Serializer.h:16,
                 from Keyfile.cpp:13:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Keyfile.cpp:14:0:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:222:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static auto_ptr <SendExceptionFunctor> WarningCallback;
          ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Serializer.h:16,
                 from Keyfile.cpp:13:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Compiling Pkcs5Kdf.cpp
Compiling Volume.cpp
Compiling VolumeException.cpp
Compiling VolumeHeader.cpp
Compiling VolumeInfo.cpp
Compiling VolumeLayout.cpp
Compiling VolumePassword.cpp
Compiling VolumePasswordCache.cpp
Compiling Aescrypt.c
Compiling Aeskey.c
Compiling Aestab.c
Compiling cpu.c
Compiling Rmd160.c
Compiling SerpentFast.c
Compiling SerpentFast_simd.cpp
Compiling Sha2.c
Compiling Twofish.c
Compiling Whirlpool.c
Compiling Camellia.c
Compiling GostCipher.c
Compiling Streebog.c
../Crypto/Streebog.c:342:28: warning: 'Pi' defined but not used [-Wunused-const-variable=]
 static const unsigned char Pi[256] = {
                            ^~
../Crypto/Streebog.c:331:28: warning: 'Tau' defined but not used [-Wunused-const-variable=]
 static const unsigned char Tau[64] = {
                            ^~~
../Crypto/Streebog.c:280:33: warning: 'A' defined but not used [-Wunused-const-variable=]
 static const unsigned long long A[64] = {
                                 ^
Compiling kuznyechik.c
Compiling Crc.c
Compiling Endian.c
Compiling GfMul.c
Compiling Pkcs5.c
Compiling SecurityToken.cpp
In file included from ../Common/SecurityToken.cpp:29:0:
../Common/SecurityToken.h:196:61: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static void InitLibrary (const string &pkcs11LibraryPath, auto_ptr <GetPinFunctor> pinCallback, auto_ptr <SendExceptionFunctor> warningCallback);
                                                             ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Finally.h:16,
                 from ../Common/SecurityToken.cpp:13:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from ../Common/SecurityToken.cpp:29:0:
../Common/SecurityToken.h:196:99: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static void InitLibrary (const string &pkcs11LibraryPath, auto_ptr <GetPinFunctor> pinCallback, auto_ptr <SendExceptionFunctor> warningCallback);
                                                                                                   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Finally.h:16,
                 from ../Common/SecurityToken.cpp:13:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from ../Common/SecurityToken.cpp:29:0:
../Common/SecurityToken.h:214:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static auto_ptr <GetPinFunctor> PinCallback;
          ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Finally.h:16,
                 from ../Common/SecurityToken.cpp:13:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from ../Common/SecurityToken.cpp:29:0:
../Common/SecurityToken.h:222:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static auto_ptr <SendExceptionFunctor> WarningCallback;
          ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Finally.h:16,
                 from ../Common/SecurityToken.cpp:13:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
../Common/SecurityToken.cpp:518:68: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  void SecurityToken::InitLibrary (const string &pkcs11LibraryPath, auto_ptr <GetPinFunctor> pinCallback, auto_ptr <SendExceptionFunctor> warningCallback)
                                                                    ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Finally.h:16,
                 from ../Common/SecurityToken.cpp:13:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
../Common/SecurityToken.cpp:518:106: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  void SecurityToken::InitLibrary (const string &pkcs11LibraryPath, auto_ptr <GetPinFunctor> pinCallback, auto_ptr <SendExceptionFunctor> warningCallback)
                                                                                                          ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Finally.h:16,
                 from ../Common/SecurityToken.cpp:13:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
../Common/SecurityToken.cpp:731:2: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  auto_ptr <GetPinFunctor> SecurityToken::PinCallback;
  ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Finally.h:16,
                 from ../Common/SecurityToken.cpp:13:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
../Common/SecurityToken.cpp:732:2: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  auto_ptr <SendExceptionFunctor> SecurityToken::WarningCallback;
  ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Finally.h:16,
                 from ../Common/SecurityToken.cpp:13:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Updating library Volume.a
Compiling FuseService.cpp
In file included from FuseService.cpp:27:0:
FuseService.h:73:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static auto_ptr <Pipe> SignalHandlerPipe;
          ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from FuseService.h:16,
                 from FuseService.cpp:27:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from FuseService.cpp:34:0:
/builddir/build/BUILD/veracrypt-1.21/src/Volume/EncryptionThreadPool.h:47:4: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
    auto_ptr <Exception> ItemException;
    ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from FuseService.h:16,
                 from FuseService.cpp:27:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from FuseService.cpp:35:0:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from FuseService.h:16,
                 from FuseService.cpp:27:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from FuseService.cpp:35:0:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from FuseService.h:16,
                 from FuseService.cpp:27:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
FuseService.cpp:595:2: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  auto_ptr <Pipe> FuseService::SignalHandlerPipe;
  ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from FuseService.h:16,
                 from FuseService.cpp:27:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Updating library Driver.a
Compiling CoreBase.cpp
Compiling CoreException.cpp
Compiling FatFormatter.cpp
Compiling HostDevice.cpp
Compiling MountOptions.cpp
Compiling RandomNumberGenerator.cpp
Compiling VolumeCreator.cpp
In file included from VolumeCreator.cpp:15:0:
Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Volume/EncryptionTest.h:16,
                 from VolumeCreator.cpp:13:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from VolumeCreator.cpp:15:0:
Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Volume/EncryptionTest.h:16,
                 from VolumeCreator.cpp:13:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Compiling CoreService.cpp
In file included from Unix/CoreServiceRequest.h:17:0,
                 from Unix/CoreService.h:16,
                 from Unix/CoreService.cpp:13:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Serializable.h:17,
                 from Unix/CoreServiceRequest.h:16,
                 from Unix/CoreService.h:16,
                 from Unix/CoreService.cpp:13:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Unix/CoreServiceRequest.h:17:0,
                 from Unix/CoreService.h:16,
                 from Unix/CoreService.cpp:13:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Serializable.h:17,
                 from Unix/CoreServiceRequest.h:16,
                 from Unix/CoreService.h:16,
                 from Unix/CoreService.cpp:13:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Unix/CoreService.cpp:13:0:
Unix/CoreService.h:42:29: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   template <class T> static auto_ptr <T> GetResponse ();
                             ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Serializable.h:17,
                 from Unix/CoreServiceRequest.h:16,
                 from Unix/CoreService.h:16,
                 from Unix/CoreService.cpp:13:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Unix/CoreService.cpp:13:0:
Unix/CoreService.h:43:29: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   template <class T> static auto_ptr <T> SendRequest (CoreServiceRequest &request);
                             ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Serializable.h:17,
                 from Unix/CoreServiceRequest.h:16,
                 from Unix/CoreService.h:16,
                 from Unix/CoreService.cpp:13:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Unix/CoreService.cpp:13:0:
Unix/CoreService.h:48:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static auto_ptr <Pipe> AdminInputPipe;
          ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Serializable.h:17,
                 from Unix/CoreServiceRequest.h:16,
                 from Unix/CoreService.h:16,
                 from Unix/CoreService.cpp:13:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Unix/CoreService.cpp:13:0:
Unix/CoreService.h:49:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static auto_ptr <Pipe> AdminOutputPipe;
          ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Serializable.h:17,
                 from Unix/CoreServiceRequest.h:16,
                 from Unix/CoreService.h:16,
                 from Unix/CoreService.cpp:13:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Unix/CoreService.cpp:13:0:
Unix/CoreService.h:51:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static auto_ptr <Pipe> InputPipe;
          ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Serializable.h:17,
                 from Unix/CoreServiceRequest.h:16,
                 from Unix/CoreService.h:16,
                 from Unix/CoreService.cpp:13:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Unix/CoreService.cpp:13:0:
Unix/CoreService.h:52:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static auto_ptr <Pipe> OutputPipe;
          ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Serializable.h:17,
                 from Unix/CoreServiceRequest.h:16,
                 from Unix/CoreService.h:16,
                 from Unix/CoreService.cpp:13:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Unix/CoreService.cpp:30:2: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  auto_ptr <T> CoreService::GetResponse ()
  ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Serializable.h:17,
                 from Unix/CoreServiceRequest.h:16,
                 from Unix/CoreService.h:16,
                 from Unix/CoreService.cpp:13:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Unix/CoreService.cpp: In static member function 'static std::auto_ptr<_Up> VeraCrypt::CoreService::GetResponse()':
Unix/CoreService.cpp:32:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <Serializable> deserializedObject (Serializable::DeserializeNew (ServiceOutputStream));
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Serializable.h:17,
                 from Unix/CoreServiceRequest.h:16,
                 from Unix/CoreService.h:16,
                 from Unix/CoreService.cpp:13:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Unix/CoreService.cpp:41:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   return auto_ptr <T> (dynamic_cast <T *> (deserializedObject.release()));
          ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Serializable.h:17,
                 from Unix/CoreServiceRequest.h:16,
                 from Unix/CoreService.h:16,
                 from Unix/CoreService.cpp:13:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Unix/CoreService.cpp: At global scope:
Unix/CoreService.cpp:280:2: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  auto_ptr <T> CoreService::SendRequest (CoreServiceRequest &request)
  ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Serializable.h:17,
                 from Unix/CoreServiceRequest.h:16,
                 from Unix/CoreService.h:16,
                 from Unix/CoreService.cpp:13:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Unix/CoreService.cpp: In static member function 'static std::auto_ptr<_Up> VeraCrypt::CoreService::SendRequest(VeraCrypt::CoreServiceRequest&)':
Unix/CoreService.cpp:296:6: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
      auto_ptr <T> response (GetResponse <T>());
      ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Serializable.h:17,
                 from Unix/CoreServiceRequest.h:16,
                 from Unix/CoreService.h:16,
                 from Unix/CoreService.cpp:13:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Unix/CoreService.cpp: In static member function 'static void VeraCrypt::CoreService::StartElevated(const VeraCrypt::CoreServiceRequest&)':
Unix/CoreService.cpp:345:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <Pipe> inPipe (new Pipe());
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Serializable.h:17,
                 from Unix/CoreServiceRequest.h:16,
                 from Unix/CoreService.h:16,
                 from Unix/CoreService.cpp:13:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Unix/CoreService.cpp:346:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <Pipe> outPipe (new Pipe());
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Serializable.h:17,
                 from Unix/CoreServiceRequest.h:16,
                 from Unix/CoreService.h:16,
                 from Unix/CoreService.cpp:13:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Unix/CoreService.cpp:486:4: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
    auto_ptr <Serializable> deserializedObject;
    ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Serializable.h:17,
                 from Unix/CoreServiceRequest.h:16,
                 from Unix/CoreService.h:16,
                 from Unix/CoreService.cpp:13:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Unix/CoreService.cpp: At global scope:
Unix/CoreService.cpp:538:2: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  auto_ptr <Pipe> CoreService::AdminInputPipe;
  ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Serializable.h:17,
                 from Unix/CoreServiceRequest.h:16,
                 from Unix/CoreService.h:16,
                 from Unix/CoreService.cpp:13:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Unix/CoreService.cpp:539:2: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  auto_ptr <Pipe> CoreService::AdminOutputPipe;
  ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Serializable.h:17,
                 from Unix/CoreServiceRequest.h:16,
                 from Unix/CoreService.h:16,
                 from Unix/CoreService.cpp:13:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Unix/CoreService.cpp:541:2: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  auto_ptr <Pipe> CoreService::InputPipe;
  ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Serializable.h:17,
                 from Unix/CoreServiceRequest.h:16,
                 from Unix/CoreService.h:16,
                 from Unix/CoreService.cpp:13:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Unix/CoreService.cpp:542:2: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  auto_ptr <Pipe> CoreService::OutputPipe;
  ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Serializable.h:17,
                 from Unix/CoreServiceRequest.h:16,
                 from Unix/CoreService.h:16,
                 from Unix/CoreService.cpp:13:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Compiling CoreServiceRequest.cpp
In file included from Unix/CoreServiceRequest.h:17:0,
                 from Unix/CoreServiceRequest.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Serializable.h:17,
                 from Unix/CoreServiceRequest.h:16,
                 from Unix/CoreServiceRequest.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Unix/CoreServiceRequest.h:17:0,
                 from Unix/CoreServiceRequest.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Serializable.h:17,
                 from Unix/CoreServiceRequest.h:16,
                 from Unix/CoreServiceRequest.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Compiling CoreServiceResponse.cpp
In file included from Unix/CoreServiceResponse.h:17:0,
                 from Unix/CoreServiceResponse.cpp:13:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Serializable.h:17,
                 from Unix/CoreServiceResponse.h:16,
                 from Unix/CoreServiceResponse.cpp:13:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Unix/CoreServiceResponse.h:17:0,
                 from Unix/CoreServiceResponse.cpp:13:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Serializable.h:17,
                 from Unix/CoreServiceResponse.h:16,
                 from Unix/CoreServiceResponse.cpp:13:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Compiling CoreUnix.cpp
In file included from Unix/CoreUnix.cpp:22:0:
/builddir/build/BUILD/veracrypt-1.21/src/Driver/Fuse/FuseService.h:73:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static auto_ptr <Pipe> SignalHandlerPipe;
          ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Unix/Process.h:16,
                 from Unix/CoreUnix.h:17,
                 from Unix/CoreUnix.cpp:13:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Compiling CoreLinux.cpp
In file included from Unix/Linux/CoreLinux.cpp:25:0:
/builddir/build/BUILD/veracrypt-1.21/src/Driver/Fuse/FuseService.h:73:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static auto_ptr <Pipe> SignalHandlerPipe;
          ^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
                 from /usr/include/c++/7/locale:43,
                 from /usr/include/c++/7/iomanip:43,
                 from Unix/Linux/CoreLinux.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Core/Unix/CoreServiceRequest.h:17:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Core/Unix/CoreService.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Core/Unix/CoreServiceProxy.h:16,
                 from Unix/Linux/CoreLinux.cpp:26:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
                 from /usr/include/c++/7/locale:43,
                 from /usr/include/c++/7/iomanip:43,
                 from Unix/Linux/CoreLinux.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Core/Unix/CoreServiceRequest.h:17:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Core/Unix/CoreService.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Core/Unix/CoreServiceProxy.h:16,
                 from Unix/Linux/CoreLinux.cpp:26:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
                 from /usr/include/c++/7/locale:43,
                 from /usr/include/c++/7/iomanip:43,
                 from Unix/Linux/CoreLinux.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Core/Unix/CoreServiceProxy.h:16:0,
                 from Unix/Linux/CoreLinux.cpp:26:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Unix/CoreService.h:42:29: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   template <class T> static auto_ptr <T> GetResponse ();
                             ^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
                 from /usr/include/c++/7/locale:43,
                 from /usr/include/c++/7/iomanip:43,
                 from Unix/Linux/CoreLinux.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Core/Unix/CoreServiceProxy.h:16:0,
                 from Unix/Linux/CoreLinux.cpp:26:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Unix/CoreService.h:43:29: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   template <class T> static auto_ptr <T> SendRequest (CoreServiceRequest &request);
                             ^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
                 from /usr/include/c++/7/locale:43,
                 from /usr/include/c++/7/iomanip:43,
                 from Unix/Linux/CoreLinux.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Core/Unix/CoreServiceProxy.h:16:0,
                 from Unix/Linux/CoreLinux.cpp:26:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Unix/CoreService.h:48:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static auto_ptr <Pipe> AdminInputPipe;
          ^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
                 from /usr/include/c++/7/locale:43,
                 from /usr/include/c++/7/iomanip:43,
                 from Unix/Linux/CoreLinux.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Core/Unix/CoreServiceProxy.h:16:0,
                 from Unix/Linux/CoreLinux.cpp:26:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Unix/CoreService.h:49:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static auto_ptr <Pipe> AdminOutputPipe;
          ^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
                 from /usr/include/c++/7/locale:43,
                 from /usr/include/c++/7/iomanip:43,
                 from Unix/Linux/CoreLinux.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Core/Unix/CoreServiceProxy.h:16:0,
                 from Unix/Linux/CoreLinux.cpp:26:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Unix/CoreService.h:51:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static auto_ptr <Pipe> InputPipe;
          ^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
                 from /usr/include/c++/7/locale:43,
                 from /usr/include/c++/7/iomanip:43,
                 from Unix/Linux/CoreLinux.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Core/Unix/CoreServiceProxy.h:16:0,
                 from Unix/Linux/CoreLinux.cpp:26:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Unix/CoreService.h:52:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static auto_ptr <Pipe> OutputPipe;
          ^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
                 from /usr/include/c++/7/locale:43,
                 from /usr/include/c++/7/iomanip:43,
                 from Unix/Linux/CoreLinux.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Unix/Linux/CoreLinux.cpp:487:2: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  auto_ptr <CoreBase> Core (new CoreServiceProxy <CoreLinux>);
  ^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
                 from /usr/include/c++/7/locale:43,
                 from /usr/include/c++/7/iomanip:43,
                 from Unix/Linux/CoreLinux.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Unix/Linux/CoreLinux.cpp:488:2: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  auto_ptr <CoreBase> CoreDirect (new CoreLinux);
  ^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
                 from /usr/include/c++/7/locale:43,
                 from /usr/include/c++/7/iomanip:43,
                 from Unix/Linux/CoreLinux.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Updating library Core.a
Precompiling SystemPrecompiled.h
Converting License.txt
Converting Language.xml
Converting Textual_logo_96dpi.bmp
Converting VeraCrypt_Wizard.bmp
Converting Drive_icon_96dpi.bmp
Converting Drive_icon_mask_96dpi.bmp
Converting Logo_96dpi.bmp
Compiling Application.cpp
Compiling CommandLineInterface.cpp
In file included from Main.h:18:0,
                 from Application.cpp:15:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from Main.h:17,
                 from Application.cpp:15:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Main.h:18:0,
                 from Application.cpp:15:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from Main.h:17,
                 from Application.cpp:15:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from UserInterface.h:19:0,
                 from Application.h:17,
                 from Application.cpp:16:
CommandLineInterface.h:103:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CommandLineInterface> CmdLine;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from Main.h:17,
                 from Application.cpp:15:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from CommandLineInterface.cpp:16:0:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Core/CoreBase.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:16,
                 from CommandLineInterface.cpp:16:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from CommandLineInterface.cpp:16:0:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Core/CoreBase.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:16,
                 from CommandLineInterface.cpp:16:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from UserInterface.h:19:0,
                 from Application.h:17,
                 from CommandLineInterface.cpp:17:
CommandLineInterface.h:103:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CommandLineInterface> CmdLine;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Core/CoreBase.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:16,
                 from CommandLineInterface.cpp:16:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Application.cpp:19:0:
GraphicUserInterface.h:133:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxSingleInstanceChecker> SingleInstanceChecker;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from Main.h:17,
                 from Application.cpp:15:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Application.cpp:21:0:
TextUserInterface.h:72:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxFFileInputStream> FInputStream;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from Main.h:17,
                 from Application.cpp:15:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Application.cpp:21:0:
TextUserInterface.h:73:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxTextInputStream> TextInputStream;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from Main.h:17,
                 from Application.cpp:15:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
CommandLineInterface.cpp:810:2: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  auto_ptr <CommandLineInterface> CmdLine;
  ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Core/CoreBase.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:16,
                 from CommandLineInterface.cpp:16:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Compiling FavoriteVolume.cpp
In file included from Main.h:18:0,
                 from Application.h:16,
                 from FavoriteVolume.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from Main.h:17,
                 from Application.h:16,
                 from FavoriteVolume.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Main.h:18:0,
                 from Application.h:16,
                 from FavoriteVolume.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from Main.h:17,
                 from Application.h:16,
                 from FavoriteVolume.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from UserInterface.h:19:0,
                 from Application.h:17,
                 from FavoriteVolume.cpp:14:
CommandLineInterface.h:103:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CommandLineInterface> CmdLine;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from Main.h:17,
                 from Application.h:16,
                 from FavoriteVolume.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from FavoriteVolume.cpp:16:0:
Xml.h:69:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxMemoryOutputStream> MemOutStream;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from Main.h:17,
                 from Application.h:16,
                 from FavoriteVolume.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from FavoriteVolume.cpp:16:0:
Xml.h:70:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxTextOutputStream> TextOutStream;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from Main.h:17,
                 from Application.h:16,
                 from FavoriteVolume.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Compiling LanguageStrings.cpp
Compiling StringFormatter.cpp
In file included from Main.h:18:0,
                 from LanguageStrings.h:17,
                 from LanguageStrings.cpp:15:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from Resources.h:17,
                 from LanguageStrings.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Main.h:18:0,
                 from LanguageStrings.h:17,
                 from LanguageStrings.cpp:15:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from Resources.h:17,
                 from LanguageStrings.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from LanguageStrings.cpp:16:0:
Xml.h:69:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxMemoryOutputStream> MemOutStream;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from Resources.h:17,
                 from LanguageStrings.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from LanguageStrings.cpp:16:0:
Xml.h:70:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxTextOutputStream> TextOutStream;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from Resources.h:17,
                 from LanguageStrings.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Main.h:18:0,
                 from StringFormatter.h:17,
                 from StringFormatter.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from Main.h:17,
                 from StringFormatter.h:17,
                 from StringFormatter.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Main.h:18:0,
                 from StringFormatter.h:17,
                 from StringFormatter.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from Main.h:17,
                 from StringFormatter.h:17,
                 from StringFormatter.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Compiling TextUserInterface.cpp
Compiling UserInterface.cpp
In file included from TextUserInterface.cpp:23:0:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:196:61: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static void InitLibrary (const string &pkcs11LibraryPath, auto_ptr <GetPinFunctor> pinCallback, auto_ptr <SendExceptionFunctor> warningCallback);
                                                             ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Unix/Process.h:16,
                 from TextUserInterface.cpp:20:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from TextUserInterface.cpp:23:0:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:196:99: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static void InitLibrary (const string &pkcs11LibraryPath, auto_ptr <GetPinFunctor> pinCallback, auto_ptr <SendExceptionFunctor> warningCallback);
                                                                                                   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Unix/Process.h:16,
                 from TextUserInterface.cpp:20:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from TextUserInterface.cpp:23:0:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:214:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static auto_ptr <GetPinFunctor> PinCallback;
          ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Unix/Process.h:16,
                 from TextUserInterface.cpp:20:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from TextUserInterface.cpp:23:0:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:222:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static auto_ptr <SendExceptionFunctor> WarningCallback;
          ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Unix/Process.h:16,
                 from TextUserInterface.cpp:20:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Main.h:18:0,
                 from Application.h:16,
                 from TextUserInterface.cpp:25:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Unix/Process.h:16,
                 from TextUserInterface.cpp:20:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Main.h:18:0,
                 from Application.h:16,
                 from TextUserInterface.cpp:25:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Unix/Process.h:16,
                 from TextUserInterface.cpp:20:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from UserInterface.h:19:0,
                 from Application.h:17,
                 from TextUserInterface.cpp:25:
CommandLineInterface.h:103:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CommandLineInterface> CmdLine;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Unix/Process.h:16,
                 from TextUserInterface.cpp:20:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from TextUserInterface.cpp:26:0:
TextUserInterface.h:72:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxFFileInputStream> FInputStream;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Unix/Process.h:16,
                 from TextUserInterface.cpp:20:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from TextUserInterface.cpp:26:0:
TextUserInterface.h:73:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxTextInputStream> TextInputStream;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Unix/Process.h:16,
                 from TextUserInterface.cpp:20:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
TextUserInterface.cpp: In member function 'virtual void VeraCrypt::TextUserInterface::InitSecurityTokenLibrary() const':
TextUserInterface.cpp:1109:65: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
    SecurityToken::InitLibrary (Preferences.SecurityTokenModule, auto_ptr <GetPinFunctor> (new PinRequestHandler (this)), auto_ptr <SendExceptionFunctor> (new WarningHandler (this)));
                                                                 ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Unix/Process.h:16,
                 from TextUserInterface.cpp:20:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
TextUserInterface.cpp:1109:122: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
    SecurityToken::InitLibrary (Preferences.SecurityTokenModule, auto_ptr <GetPinFunctor> (new PinRequestHandler (this)), auto_ptr <SendExceptionFunctor> (new WarningHandler (this)));
                                                                                                                          ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Unix/Process.h:16,
                 from TextUserInterface.cpp:20:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from UserInterface.cpp:26:0:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:196:61: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static void InitLibrary (const string &pkcs11LibraryPath, auto_ptr <GetPinFunctor> pinCallback, auto_ptr <SendExceptionFunctor> warningCallback);
                                                             ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformTest.h:16,
                 from UserInterface.cpp:19:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from UserInterface.cpp:26:0:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:196:99: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static void InitLibrary (const string &pkcs11LibraryPath, auto_ptr <GetPinFunctor> pinCallback, auto_ptr <SendExceptionFunctor> warningCallback);
                                                                                                   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformTest.h:16,
                 from UserInterface.cpp:19:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from UserInterface.cpp:26:0:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:214:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static auto_ptr <GetPinFunctor> PinCallback;
          ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformTest.h:16,
                 from UserInterface.cpp:19:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from UserInterface.cpp:26:0:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:222:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static auto_ptr <SendExceptionFunctor> WarningCallback;
          ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformTest.h:16,
                 from UserInterface.cpp:19:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Main.h:18:0,
                 from Application.h:16,
                 from UserInterface.cpp:28:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformTest.h:16,
                 from UserInterface.cpp:19:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Main.h:18:0,
                 from Application.h:16,
                 from UserInterface.cpp:28:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformTest.h:16,
                 from UserInterface.cpp:19:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from UserInterface.h:19:0,
                 from Application.h:17,
                 from UserInterface.cpp:28:
CommandLineInterface.h:103:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CommandLineInterface> CmdLine;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformTest.h:16,
                 from UserInterface.cpp:19:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Compiling UserPreferences.cpp
Compiling Xml.cpp
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Application.h:16,
                 from UserPreferences.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Application.h:16,
                 from UserPreferences.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Application.h:16,
                 from UserPreferences.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Application.h:16,
                 from UserPreferences.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/UserInterface.h:19:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Application.h:17,
                 from UserPreferences.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Main/CommandLineInterface.h:103:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CommandLineInterface> CmdLine;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Application.h:16,
                 from UserPreferences.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from UserPreferences.cpp:16:0:
Xml.h:69:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxMemoryOutputStream> MemOutStream;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Application.h:16,
                 from UserPreferences.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from UserPreferences.cpp:16:0:
Xml.h:70:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxTextOutputStream> TextOutStream;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Application.h:16,
                 from UserPreferences.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Main.h:18:0,
                 from Xml.h:17,
                 from Xml.cpp:16:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/FileStream.h:16,
                 from Xml.cpp:15:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Main.h:18:0,
                 from Xml.h:17,
                 from Xml.cpp:16:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/FileStream.h:16,
                 from Xml.cpp:15:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Xml.cpp:16:0:
Xml.h:69:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxMemoryOutputStream> MemOutStream;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/FileStream.h:16,
                 from Xml.cpp:15:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Xml.cpp:16:0:
Xml.h:70:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxTextOutputStream> TextOutStream;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/FileStream.h:16,
                 from Xml.cpp:15:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Compiling Main.cpp
Compiling Resources.cpp
In file included from Unix/Main.cpp:18:0:
/builddir/build/BUILD/veracrypt-1.21/src/Volume/EncryptionThreadPool.h:47:4: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
    auto_ptr <Exception> ItemException;
    ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from Unix/Main.cpp:16:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Core/Unix/CoreServiceRequest.h:17:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Core/Unix/CoreService.h:16,
                 from Unix/Main.cpp:19:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from Unix/Main.cpp:16:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Core/Unix/CoreServiceRequest.h:17:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Core/Unix/CoreService.h:16,
                 from Unix/Main.cpp:19:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from Unix/Main.cpp:16:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Unix/Main.cpp:19:0:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Unix/CoreService.h:42:29: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   template <class T> static auto_ptr <T> GetResponse ();
                             ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from Unix/Main.cpp:16:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Unix/Main.cpp:19:0:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Unix/CoreService.h:43:29: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   template <class T> static auto_ptr <T> SendRequest (CoreServiceRequest &request);
                             ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from Unix/Main.cpp:16:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Unix/Main.cpp:19:0:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Unix/CoreService.h:48:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static auto_ptr <Pipe> AdminInputPipe;
          ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from Unix/Main.cpp:16:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Unix/Main.cpp:19:0:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Unix/CoreService.h:49:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static auto_ptr <Pipe> AdminOutputPipe;
          ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from Unix/Main.cpp:16:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Unix/Main.cpp:19:0:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Unix/CoreService.h:51:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static auto_ptr <Pipe> InputPipe;
          ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from Unix/Main.cpp:16:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Unix/Main.cpp:19:0:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Unix/CoreService.h:52:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static auto_ptr <Pipe> OutputPipe;
          ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from Unix/Main.cpp:16:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/UserInterface.h:19:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Application.h:17,
                 from Unix/Main.cpp:20:
/builddir/build/BUILD/veracrypt-1.21/src/Main/CommandLineInterface.h:103:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CommandLineInterface> CmdLine;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from Unix/Main.cpp:16:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Compiling FatalErrorHandler.cpp
In file included from Main.h:18:0,
                 from FatalErrorHandler.cpp:16:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from Main.h:17,
                 from FatalErrorHandler.cpp:16:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Main.h:18:0,
                 from FatalErrorHandler.cpp:16:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from Main.h:17,
                 from FatalErrorHandler.cpp:16:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from UserInterface.h:19:0,
                 from Application.h:17,
                 from FatalErrorHandler.cpp:17:
CommandLineInterface.h:103:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CommandLineInterface> CmdLine;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from Main.h:17,
                 from FatalErrorHandler.cpp:16:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from FatalErrorHandler.cpp:19:0:
GraphicUserInterface.h:133:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxSingleInstanceChecker> SingleInstanceChecker;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from Main.h:17,
                 from FatalErrorHandler.cpp:16:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Compiling GraphicUserInterface.cpp
Compiling VolumeHistory.cpp
In file included from GraphicUserInterface.cpp:27:0:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:196:61: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static void InitLibrary (const string &pkcs11LibraryPath, auto_ptr <GetPinFunctor> pinCallback, auto_ptr <SendExceptionFunctor> warningCallback);
                                                             ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Unix/Process.h:16,
                 from GraphicUserInterface.cpp:24:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from GraphicUserInterface.cpp:27:0:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:196:99: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static void InitLibrary (const string &pkcs11LibraryPath, auto_ptr <GetPinFunctor> pinCallback, auto_ptr <SendExceptionFunctor> warningCallback);
                                                                                                   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Unix/Process.h:16,
                 from GraphicUserInterface.cpp:24:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from GraphicUserInterface.cpp:27:0:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:214:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static auto_ptr <GetPinFunctor> PinCallback;
          ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Unix/Process.h:16,
                 from GraphicUserInterface.cpp:24:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from GraphicUserInterface.cpp:27:0:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:222:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static auto_ptr <SendExceptionFunctor> WarningCallback;
          ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Unix/Process.h:16,
                 from GraphicUserInterface.cpp:24:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Main.h:18:0,
                 from Application.h:16,
                 from GraphicUserInterface.cpp:28:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Unix/Process.h:16,
                 from GraphicUserInterface.cpp:24:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Main.h:18:0,
                 from Application.h:16,
                 from GraphicUserInterface.cpp:28:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Unix/Process.h:16,
                 from GraphicUserInterface.cpp:24:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from UserInterface.h:19:0,
                 from Application.h:17,
                 from GraphicUserInterface.cpp:28:
CommandLineInterface.h:103:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CommandLineInterface> CmdLine;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Unix/Process.h:16,
                 from GraphicUserInterface.cpp:24:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from GraphicUserInterface.cpp:29:0:
GraphicUserInterface.h:133:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxSingleInstanceChecker> SingleInstanceChecker;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Unix/Process.h:16,
                 from GraphicUserInterface.cpp:24:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from GraphicUserInterface.cpp:33:0:
Forms/MainFrame.h:185:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxTaskBarIcon> mTaskBarIcon;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Unix/Process.h:16,
                 from GraphicUserInterface.cpp:24:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from GraphicUserInterface.cpp:33:0:
Forms/MainFrame.h:186:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxTimer> mTimer;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Unix/Process.h:16,
                 from GraphicUserInterface.cpp:24:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
GraphicUserInterface.cpp: In member function 'virtual void VeraCrypt::GraphicUserInterface::BeginInteractiveBusyState(wxWindow*)':
GraphicUserInterface.cpp:305:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static auto_ptr <wxCursor> arrowWaitCursor;
          ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Unix/Process.h:16,
                 from GraphicUserInterface.cpp:24:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
GraphicUserInterface.cpp: In member function 'virtual void VeraCrypt::GraphicUserInterface::EndInteractiveBusyState(wxWindow*) const':
GraphicUserInterface.cpp:370:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static auto_ptr <wxCursor> arrowCursor;
          ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Unix/Process.h:16,
                 from GraphicUserInterface.cpp:24:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
GraphicUserInterface.cpp: In member function 'virtual void VeraCrypt::GraphicUserInterface::InitSecurityTokenLibrary() const':
GraphicUserInterface.cpp:593:65: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
    SecurityToken::InitLibrary (Preferences.SecurityTokenModule, auto_ptr <GetPinFunctor> (new PinRequestHandler), auto_ptr <SendExceptionFunctor> (new WarningHandler));
                                                                 ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Unix/Process.h:16,
                 from GraphicUserInterface.cpp:24:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
GraphicUserInterface.cpp:593:115: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
    SecurityToken::InitLibrary (Preferences.SecurityTokenModule, auto_ptr <GetPinFunctor> (new PinRequestHandler), auto_ptr <SendExceptionFunctor> (new WarningHandler));
                                                                                                                   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Unix/Process.h:16,
                 from GraphicUserInterface.cpp:24:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Main.h:18:0,
                 from Application.h:16,
                 from VolumeHistory.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from Main.h:17,
                 from Application.h:16,
                 from VolumeHistory.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Main.h:18:0,
                 from Application.h:16,
                 from VolumeHistory.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from Main.h:17,
                 from Application.h:16,
                 from VolumeHistory.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from UserInterface.h:19:0,
                 from Application.h:17,
                 from VolumeHistory.cpp:14:
CommandLineInterface.h:103:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CommandLineInterface> CmdLine;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from Main.h:17,
                 from Application.h:16,
                 from VolumeHistory.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from VolumeHistory.cpp:15:0:
GraphicUserInterface.h:133:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxSingleInstanceChecker> SingleInstanceChecker;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from Main.h:17,
                 from Application.h:16,
                 from VolumeHistory.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from VolumeHistory.cpp:16:0:
Xml.h:69:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxMemoryOutputStream> MemOutStream;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from Main.h:17,
                 from Application.h:16,
                 from VolumeHistory.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from VolumeHistory.cpp:16:0:
Xml.h:70:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxTextOutputStream> TextOutStream;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from Main.h:17,
                 from Application.h:16,
                 from VolumeHistory.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Compiling AboutDialog.cpp
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Application.h:16,
                 from Forms/AboutDialog.cpp:15:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Volume/Version.h:16,
                 from Forms/AboutDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Application.h:16,
                 from Forms/AboutDialog.cpp:15:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Volume/Version.h:16,
                 from Forms/AboutDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/UserInterface.h:19:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Application.h:17,
                 from Forms/AboutDialog.cpp:15:
/builddir/build/BUILD/veracrypt-1.21/src/Main/CommandLineInterface.h:103:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CommandLineInterface> CmdLine;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Volume/Version.h:16,
                 from Forms/AboutDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/AboutDialog.cpp:16:0:
/builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:133:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxSingleInstanceChecker> SingleInstanceChecker;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Volume/Version.h:16,
                 from Forms/AboutDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Compiling BenchmarkDialog.cpp
Compiling ChangePasswordDialog.cpp
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/BenchmarkDialog.cpp:15:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Volume/EncryptionModeXTS.h:16,
                 from Forms/BenchmarkDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/BenchmarkDialog.cpp:15:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Volume/EncryptionModeXTS.h:16,
                 from Forms/BenchmarkDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/UserInterface.h:19:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:19,
                 from Forms/BenchmarkDialog.cpp:15:
/builddir/build/BUILD/veracrypt-1.21/src/Main/CommandLineInterface.h:103:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CommandLineInterface> CmdLine;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Volume/EncryptionModeXTS.h:16,
                 from Forms/BenchmarkDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/BenchmarkDialog.cpp:15:0:
/builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:133:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxSingleInstanceChecker> SingleInstanceChecker;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Volume/EncryptionModeXTS.h:16,
                 from Forms/BenchmarkDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from Forms/ChangePasswordDialog.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from Forms/ChangePasswordDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from Forms/ChangePasswordDialog.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from Forms/ChangePasswordDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/UserInterface.h:19:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:19,
                 from Forms/ChangePasswordDialog.cpp:15:
/builddir/build/BUILD/veracrypt-1.21/src/Main/CommandLineInterface.h:103:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CommandLineInterface> CmdLine;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from Forms/ChangePasswordDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/ChangePasswordDialog.cpp:15:0:
/builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:133:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxSingleInstanceChecker> SingleInstanceChecker;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from Forms/ChangePasswordDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Compiling DeviceSelectionDialog.cpp
Compiling EncryptionOptionsWizardPage.cpp
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/DeviceSelectionDialog.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/DeviceSelectionDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/DeviceSelectionDialog.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/DeviceSelectionDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/UserInterface.h:19:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:19,
                 from Forms/DeviceSelectionDialog.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Main/CommandLineInterface.h:103:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CommandLineInterface> CmdLine;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/DeviceSelectionDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/DeviceSelectionDialog.cpp:14:0:
/builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:133:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxSingleInstanceChecker> SingleInstanceChecker;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/DeviceSelectionDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/EncryptionOptionsWizardPage.cpp:16:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Volume/EncryptionTest.h:16,
                 from Forms/EncryptionOptionsWizardPage.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/EncryptionOptionsWizardPage.cpp:16:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Volume/EncryptionTest.h:16,
                 from Forms/EncryptionOptionsWizardPage.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/UserInterface.h:19:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:19,
                 from Forms/EncryptionOptionsWizardPage.cpp:16:
/builddir/build/BUILD/veracrypt-1.21/src/Main/CommandLineInterface.h:103:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CommandLineInterface> CmdLine;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Volume/EncryptionTest.h:16,
                 from Forms/EncryptionOptionsWizardPage.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/EncryptionOptionsWizardPage.cpp:16:0:
/builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:133:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxSingleInstanceChecker> SingleInstanceChecker;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Volume/EncryptionTest.h:16,
                 from Forms/EncryptionOptionsWizardPage.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Compiling EncryptionTestDialog.cpp
Compiling FavoriteVolumesDialog.cpp
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/EncryptionTestDialog.cpp:16:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Volume/EncryptionModeXTS.h:16,
                 from Forms/EncryptionTestDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/EncryptionTestDialog.cpp:16:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Volume/EncryptionModeXTS.h:16,
                 from Forms/EncryptionTestDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/UserInterface.h:19:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:19,
                 from Forms/EncryptionTestDialog.cpp:16:
/builddir/build/BUILD/veracrypt-1.21/src/Main/CommandLineInterface.h:103:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CommandLineInterface> CmdLine;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Volume/EncryptionModeXTS.h:16,
                 from Forms/EncryptionTestDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/EncryptionTestDialog.cpp:16:0:
/builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:133:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxSingleInstanceChecker> SingleInstanceChecker;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Volume/EncryptionModeXTS.h:16,
                 from Forms/EncryptionTestDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/FavoriteVolumesDialog.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/FavoriteVolumesDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/FavoriteVolumesDialog.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/FavoriteVolumesDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/UserInterface.h:19:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:19,
                 from Forms/FavoriteVolumesDialog.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Main/CommandLineInterface.h:103:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CommandLineInterface> CmdLine;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/FavoriteVolumesDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/FavoriteVolumesDialog.cpp:14:0:
/builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:133:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxSingleInstanceChecker> SingleInstanceChecker;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/FavoriteVolumesDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Compiling Forms.cpp
Compiling InfoWizardPage.cpp
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from Forms/WizardPage.h:16,
                 from Forms/Forms.h:16,
                 from Forms/Forms.cpp:10:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from Forms/WizardPage.h:16,
                 from Forms/Forms.h:16,
                 from Forms/Forms.cpp:10:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from Forms/WizardPage.h:16,
                 from Forms/Forms.h:16,
                 from Forms/Forms.cpp:10:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from Forms/WizardPage.h:16,
                 from Forms/Forms.h:16,
                 from Forms/Forms.cpp:10:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from Forms/WizardPage.h:16,
                 from Forms/Forms.h:16,
                 from Forms/InfoWizardPage.h:16,
                 from Forms/InfoWizardPage.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from Forms/WizardPage.h:16,
                 from Forms/Forms.h:16,
                 from Forms/InfoWizardPage.h:16,
                 from Forms/InfoWizardPage.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from Forms/WizardPage.h:16,
                 from Forms/Forms.h:16,
                 from Forms/InfoWizardPage.h:16,
                 from Forms/InfoWizardPage.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from Forms/WizardPage.h:16,
                 from Forms/Forms.h:16,
                 from Forms/InfoWizardPage.h:16,
                 from Forms/InfoWizardPage.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Compiling KeyfileGeneratorDialog.cpp
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/KeyfileGeneratorDialog.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/KeyfileGeneratorDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/KeyfileGeneratorDialog.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/KeyfileGeneratorDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/UserInterface.h:19:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:19,
                 from Forms/KeyfileGeneratorDialog.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Main/CommandLineInterface.h:103:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CommandLineInterface> CmdLine;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/KeyfileGeneratorDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/KeyfileGeneratorDialog.cpp:14:0:
/builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:133:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxSingleInstanceChecker> SingleInstanceChecker;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/KeyfileGeneratorDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Compiling KeyfilesDialog.cpp
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/KeyfilesDialog.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/KeyfilesDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/KeyfilesDialog.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/KeyfilesDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/UserInterface.h:19:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:19,
                 from Forms/KeyfilesDialog.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Main/CommandLineInterface.h:103:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CommandLineInterface> CmdLine;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/KeyfilesDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/KeyfilesDialog.cpp:14:0:
/builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:133:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxSingleInstanceChecker> SingleInstanceChecker;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/KeyfilesDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Compiling KeyfilesPanel.cpp
Compiling LegalNoticesDialog.cpp
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/KeyfilesPanel.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/KeyfilesPanel.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/KeyfilesPanel.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/KeyfilesPanel.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/UserInterface.h:19:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:19,
                 from Forms/KeyfilesPanel.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Main/CommandLineInterface.h:103:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CommandLineInterface> CmdLine;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/KeyfilesPanel.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/KeyfilesPanel.cpp:14:0:
/builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:133:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxSingleInstanceChecker> SingleInstanceChecker;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/KeyfilesPanel.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/SecurityTokenKeyfilesDialog.h:17:0,
                 from Forms/KeyfilesPanel.cpp:16:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:196:61: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static void InitLibrary (const string &pkcs11LibraryPath, auto_ptr <GetPinFunctor> pinCallback, auto_ptr <SendExceptionFunctor> warningCallback);
                                                             ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/KeyfilesPanel.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/SecurityTokenKeyfilesDialog.h:17:0,
                 from Forms/KeyfilesPanel.cpp:16:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:196:99: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static void InitLibrary (const string &pkcs11LibraryPath, auto_ptr <GetPinFunctor> pinCallback, auto_ptr <SendExceptionFunctor> warningCallback);
                                                                                                   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/KeyfilesPanel.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/SecurityTokenKeyfilesDialog.h:17:0,
                 from Forms/KeyfilesPanel.cpp:16:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:214:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static auto_ptr <GetPinFunctor> PinCallback;
          ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/KeyfilesPanel.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/SecurityTokenKeyfilesDialog.h:17:0,
                 from Forms/KeyfilesPanel.cpp:16:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:222:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static auto_ptr <SendExceptionFunctor> WarningCallback;
          ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/KeyfilesPanel.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from Forms/WizardPage.h:16,
                 from Forms/Forms.h:16,
                 from Forms/LegalNoticesDialog.h:16,
                 from Forms/LegalNoticesDialog.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from Forms/WizardPage.h:16,
                 from Forms/Forms.h:16,
                 from Forms/LegalNoticesDialog.h:16,
                 from Forms/LegalNoticesDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from Forms/WizardPage.h:16,
                 from Forms/Forms.h:16,
                 from Forms/LegalNoticesDialog.h:16,
                 from Forms/LegalNoticesDialog.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from Forms/WizardPage.h:16,
                 from Forms/Forms.h:16,
                 from Forms/LegalNoticesDialog.h:16,
                 from Forms/LegalNoticesDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/UserInterface.h:19:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:19,
                 from Forms/LegalNoticesDialog.cpp:15:
/builddir/build/BUILD/veracrypt-1.21/src/Main/CommandLineInterface.h:103:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CommandLineInterface> CmdLine;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from Forms/WizardPage.h:16,
                 from Forms/Forms.h:16,
                 from Forms/LegalNoticesDialog.h:16,
                 from Forms/LegalNoticesDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/LegalNoticesDialog.cpp:15:0:
/builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:133:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxSingleInstanceChecker> SingleInstanceChecker;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from Forms/WizardPage.h:16,
                 from Forms/Forms.h:16,
                 from Forms/LegalNoticesDialog.h:16,
                 from Forms/LegalNoticesDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Compiling MainFrame.cpp
Compiling MountOptionsDialog.cpp
In file included from Forms/MainFrame.cpp:22:0:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:196:61: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static void InitLibrary (const string &pkcs11LibraryPath, auto_ptr <GetPinFunctor> pinCallback, auto_ptr <SendExceptionFunctor> warningCallback);
                                                             ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:16,
                 from Forms/MainFrame.cpp:22:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/MainFrame.cpp:22:0:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:196:99: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static void InitLibrary (const string &pkcs11LibraryPath, auto_ptr <GetPinFunctor> pinCallback, auto_ptr <SendExceptionFunctor> warningCallback);
                                                                                                   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:16,
                 from Forms/MainFrame.cpp:22:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/MainFrame.cpp:22:0:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:214:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static auto_ptr <GetPinFunctor> PinCallback;
          ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:16,
                 from Forms/MainFrame.cpp:22:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/MainFrame.cpp:22:0:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:222:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static auto_ptr <SendExceptionFunctor> WarningCallback;
          ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:16,
                 from Forms/MainFrame.cpp:22:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from Forms/MainFrame.cpp:23:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:16,
                 from Forms/MainFrame.cpp:22:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from Forms/MainFrame.cpp:23:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:16,
                 from Forms/MainFrame.cpp:22:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/UserInterface.h:19:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Application.h:17,
                 from Forms/MainFrame.cpp:25:
/builddir/build/BUILD/veracrypt-1.21/src/Main/CommandLineInterface.h:103:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CommandLineInterface> CmdLine;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:16,
                 from Forms/MainFrame.cpp:22:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from Forms/MountOptionsDialog.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from Forms/MountOptionsDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from Forms/MountOptionsDialog.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from Forms/MountOptionsDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/UserInterface.h:19:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:19,
                 from Forms/MountOptionsDialog.cpp:15:
/builddir/build/BUILD/veracrypt-1.21/src/Main/CommandLineInterface.h:103:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CommandLineInterface> CmdLine;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from Forms/MountOptionsDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/MainFrame.cpp:26:0:
/builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:133:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxSingleInstanceChecker> SingleInstanceChecker;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:16,
                 from Forms/MainFrame.cpp:22:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/MainFrame.cpp:28:0:
/builddir/build/BUILD/veracrypt-1.21/src/Main/Xml.h:69:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxMemoryOutputStream> MemOutStream;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:16,
                 from Forms/MainFrame.cpp:22:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/MainFrame.cpp:28:0:
/builddir/build/BUILD/veracrypt-1.21/src/Main/Xml.h:70:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxTextOutputStream> TextOutStream;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:16,
                 from Forms/MainFrame.cpp:22:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/MainFrame.cpp:29:0:
Forms/MainFrame.h:185:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxTaskBarIcon> mTaskBarIcon;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:16,
                 from Forms/MainFrame.cpp:22:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/MainFrame.cpp:29:0:
Forms/MainFrame.h:186:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxTimer> mTimer;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:16,
                 from Forms/MainFrame.cpp:22:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/MainFrame.cpp:36:0:
Forms/PreferencesDialog.h:57:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxTimer> mTimer;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:16,
                 from Forms/MainFrame.cpp:22:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/MountOptionsDialog.cpp:15:0:
/builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:133:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxSingleInstanceChecker> SingleInstanceChecker;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from Forms/MountOptionsDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/MainFrame.cpp:38:0:
Forms/VolumeCreationWizard.h:66:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxTimer> ProgressTimer;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:16,
                 from Forms/MainFrame.cpp:22:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/MainFrame.cpp:38:0:
Forms/VolumeCreationWizard.h:67:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxTimer> RandomPoolUpdateTimer;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:16,
                 from Forms/MainFrame.cpp:22:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Forms/MainFrame.cpp: In member function 'virtual wxMenu* VeraCrypt::MainFrame::InitTaskBarIcon()::TaskBarIcon::CreatePopupMenu()':
Forms/MainFrame.cpp:508:5: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
     auto_ptr <wxMenu> popup (new wxMenu);
     ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:16,
                 from Forms/MainFrame.cpp:22:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Forms/MainFrame.cpp: In member function 'void VeraCrypt::MainFrame::UpdateVolumeList()':
Forms/MainFrame.cpp:1644:88: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
      Gui->InsertToListCtrl (SlotListCtrl, ++prevItemIndex, fields, 0, (void *) volume->SlotNumber);
                                                                                        ^~~~~~~~~~
Forms/MainFrame.cpp:1679:81: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
       Gui->InsertToListCtrl (SlotListCtrl, ++prevItemIndex, fields, 0, (void *) slotNumber);
                                                                                 ^~~~~~~~~~
Compiling NewSecurityTokenKeyfileDialog.cpp
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/NewSecurityTokenKeyfileDialog.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/NewSecurityTokenKeyfileDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/NewSecurityTokenKeyfileDialog.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/NewSecurityTokenKeyfileDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/UserInterface.h:19:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:19,
                 from Forms/NewSecurityTokenKeyfileDialog.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Main/CommandLineInterface.h:103:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CommandLineInterface> CmdLine;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/NewSecurityTokenKeyfileDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/NewSecurityTokenKeyfileDialog.cpp:14:0:
/builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:133:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxSingleInstanceChecker> SingleInstanceChecker;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/NewSecurityTokenKeyfileDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/NewSecurityTokenKeyfileDialog.h:17:0,
                 from Forms/NewSecurityTokenKeyfileDialog.cpp:15:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:196:61: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static void InitLibrary (const string &pkcs11LibraryPath, auto_ptr <GetPinFunctor> pinCallback, auto_ptr <SendExceptionFunctor> warningCallback);
                                                             ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/NewSecurityTokenKeyfileDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/NewSecurityTokenKeyfileDialog.h:17:0,
                 from Forms/NewSecurityTokenKeyfileDialog.cpp:15:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:196:99: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static void InitLibrary (const string &pkcs11LibraryPath, auto_ptr <GetPinFunctor> pinCallback, auto_ptr <SendExceptionFunctor> warningCallback);
                                                                                                   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/NewSecurityTokenKeyfileDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/NewSecurityTokenKeyfileDialog.h:17:0,
                 from Forms/NewSecurityTokenKeyfileDialog.cpp:15:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:214:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static auto_ptr <GetPinFunctor> PinCallback;
          ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/NewSecurityTokenKeyfileDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/NewSecurityTokenKeyfileDialog.h:17:0,
                 from Forms/NewSecurityTokenKeyfileDialog.cpp:15:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:222:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static auto_ptr <SendExceptionFunctor> WarningCallback;
          ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/NewSecurityTokenKeyfileDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Compiling PreferencesDialog.cpp
Compiling ProgressWizardPage.cpp
In file included from Forms/PreferencesDialog.cpp:18:0:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:196:61: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static void InitLibrary (const string &pkcs11LibraryPath, auto_ptr <GetPinFunctor> pinCallback, auto_ptr <SendExceptionFunctor> warningCallback);
                                                             ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:16,
                 from Forms/PreferencesDialog.cpp:18:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/PreferencesDialog.cpp:18:0:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:196:99: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static void InitLibrary (const string &pkcs11LibraryPath, auto_ptr <GetPinFunctor> pinCallback, auto_ptr <SendExceptionFunctor> warningCallback);
                                                                                                   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:16,
                 from Forms/PreferencesDialog.cpp:18:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/PreferencesDialog.cpp:18:0:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:214:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static auto_ptr <GetPinFunctor> PinCallback;
          ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:16,
                 from Forms/PreferencesDialog.cpp:18:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/PreferencesDialog.cpp:18:0:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:222:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static auto_ptr <SendExceptionFunctor> WarningCallback;
          ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:16,
                 from Forms/PreferencesDialog.cpp:18:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from Forms/PreferencesDialog.cpp:19:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:16,
                 from Forms/PreferencesDialog.cpp:18:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from Forms/PreferencesDialog.cpp:19:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:16,
                 from Forms/PreferencesDialog.cpp:18:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/ProgressWizardPage.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/ProgressWizardPage.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/ProgressWizardPage.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/ProgressWizardPage.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/UserInterface.h:19:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Application.h:17,
                 from Forms/PreferencesDialog.cpp:20:
/builddir/build/BUILD/veracrypt-1.21/src/Main/CommandLineInterface.h:103:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CommandLineInterface> CmdLine;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:16,
                 from Forms/PreferencesDialog.cpp:18:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/UserInterface.h:19:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:19,
                 from Forms/ProgressWizardPage.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Main/CommandLineInterface.h:103:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CommandLineInterface> CmdLine;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/ProgressWizardPage.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/PreferencesDialog.cpp:21:0:
/builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:133:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxSingleInstanceChecker> SingleInstanceChecker;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:16,
                 from Forms/PreferencesDialog.cpp:18:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/ProgressWizardPage.cpp:14:0:
/builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:133:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxSingleInstanceChecker> SingleInstanceChecker;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/ProgressWizardPage.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/ProgressWizardPage.cpp:15:0:
Forms/ProgressWizardPage.h:39:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxTimer> mTimer;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/ProgressWizardPage.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/PreferencesDialog.cpp:23:0:
Forms/PreferencesDialog.h:57:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxTimer> mTimer;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:16,
                 from Forms/PreferencesDialog.cpp:18:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Compiling RandomPoolEnrichmentDialog.cpp
Compiling SecurityTokenKeyfilesDialog.cpp
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/RandomPoolEnrichmentDialog.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/RandomPoolEnrichmentDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/RandomPoolEnrichmentDialog.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/RandomPoolEnrichmentDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/UserInterface.h:19:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:19,
                 from Forms/RandomPoolEnrichmentDialog.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Main/CommandLineInterface.h:103:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CommandLineInterface> CmdLine;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/RandomPoolEnrichmentDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/RandomPoolEnrichmentDialog.cpp:14:0:
/builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:133:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxSingleInstanceChecker> SingleInstanceChecker;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/RandomPoolEnrichmentDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Compiling SelectDirectoryWizardPage.cpp
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/SecurityTokenKeyfilesDialog.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/SecurityTokenKeyfilesDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/SecurityTokenKeyfilesDialog.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/SecurityTokenKeyfilesDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/UserInterface.h:19:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:19,
                 from Forms/SecurityTokenKeyfilesDialog.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Main/CommandLineInterface.h:103:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CommandLineInterface> CmdLine;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/SecurityTokenKeyfilesDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/SecurityTokenKeyfilesDialog.cpp:14:0:
/builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:133:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxSingleInstanceChecker> SingleInstanceChecker;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/SecurityTokenKeyfilesDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/SecurityTokenKeyfilesDialog.cpp:15:0:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:196:61: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static void InitLibrary (const string &pkcs11LibraryPath, auto_ptr <GetPinFunctor> pinCallback, auto_ptr <SendExceptionFunctor> warningCallback);
                                                             ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/SecurityTokenKeyfilesDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/SecurityTokenKeyfilesDialog.cpp:15:0:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:196:99: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static void InitLibrary (const string &pkcs11LibraryPath, auto_ptr <GetPinFunctor> pinCallback, auto_ptr <SendExceptionFunctor> warningCallback);
                                                                                                   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/SecurityTokenKeyfilesDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/SecurityTokenKeyfilesDialog.cpp:15:0:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:214:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static auto_ptr <GetPinFunctor> PinCallback;
          ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/SecurityTokenKeyfilesDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/SecurityTokenKeyfilesDialog.cpp:15:0:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:222:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static auto_ptr <SendExceptionFunctor> WarningCallback;
          ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/SecurityTokenKeyfilesDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Compiling VolumePasswordPanel.cpp
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/SelectDirectoryWizardPage.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/SelectDirectoryWizardPage.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/SelectDirectoryWizardPage.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/SelectDirectoryWizardPage.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/UserInterface.h:19:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:19,
                 from Forms/SelectDirectoryWizardPage.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Main/CommandLineInterface.h:103:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CommandLineInterface> CmdLine;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/SelectDirectoryWizardPage.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/SelectDirectoryWizardPage.cpp:14:0:
/builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:133:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxSingleInstanceChecker> SingleInstanceChecker;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/SelectDirectoryWizardPage.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Compiling VolumePropertiesDialog.cpp
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumePasswordPanel.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumePasswordPanel.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumePasswordPanel.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumePasswordPanel.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/UserInterface.h:19:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:19,
                 from Forms/VolumePasswordPanel.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Main/CommandLineInterface.h:103:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CommandLineInterface> CmdLine;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumePasswordPanel.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/VolumePasswordPanel.cpp:14:0:
/builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:133:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxSingleInstanceChecker> SingleInstanceChecker;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumePasswordPanel.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/SecurityTokenKeyfilesDialog.h:17:0,
                 from Forms/VolumePasswordPanel.cpp:17:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:196:61: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static void InitLibrary (const string &pkcs11LibraryPath, auto_ptr <GetPinFunctor> pinCallback, auto_ptr <SendExceptionFunctor> warningCallback);
                                                             ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumePasswordPanel.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/SecurityTokenKeyfilesDialog.h:17:0,
                 from Forms/VolumePasswordPanel.cpp:17:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:196:99: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static void InitLibrary (const string &pkcs11LibraryPath, auto_ptr <GetPinFunctor> pinCallback, auto_ptr <SendExceptionFunctor> warningCallback);
                                                                                                   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumePasswordPanel.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/SecurityTokenKeyfilesDialog.h:17:0,
                 from Forms/VolumePasswordPanel.cpp:17:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:214:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static auto_ptr <GetPinFunctor> PinCallback;
          ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumePasswordPanel.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/SecurityTokenKeyfilesDialog.h:17:0,
                 from Forms/VolumePasswordPanel.cpp:17:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:222:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static auto_ptr <SendExceptionFunctor> WarningCallback;
          ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumePasswordPanel.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from Forms/VolumePropertiesDialog.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from Forms/VolumePropertiesDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from Forms/VolumePropertiesDialog.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from Forms/VolumePropertiesDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/UserInterface.h:19:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:19,
                 from Forms/VolumePropertiesDialog.cpp:15:
/builddir/build/BUILD/veracrypt-1.21/src/Main/CommandLineInterface.h:103:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CommandLineInterface> CmdLine;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from Forms/VolumePropertiesDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/VolumePropertiesDialog.cpp:15:0:
/builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:133:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxSingleInstanceChecker> SingleInstanceChecker;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from Forms/VolumePropertiesDialog.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Compiling VolumeCreationProgressWizardPage.cpp
Compiling VolumeCreationWizard.cpp
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumeCreationProgressWizardPage.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumeCreationProgressWizardPage.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumeCreationProgressWizardPage.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumeCreationProgressWizardPage.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/UserInterface.h:19:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:19,
                 from Forms/VolumeCreationProgressWizardPage.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Main/CommandLineInterface.h:103:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CommandLineInterface> CmdLine;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumeCreationProgressWizardPage.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/VolumeCreationProgressWizardPage.cpp:14:0:
/builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:133:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxSingleInstanceChecker> SingleInstanceChecker;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumeCreationProgressWizardPage.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/VolumeCreationProgressWizardPage.cpp:15:0:
Forms/VolumeCreationProgressWizardPage.h:51:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxTimer> RandomPoolTimer;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumeCreationProgressWizardPage.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Application.h:16,
                 from Forms/VolumeCreationWizard.cpp:21:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/SystemInfo.h:16,
                 from Forms/VolumeCreationWizard.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Application.h:16,
                 from Forms/VolumeCreationWizard.cpp:21:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/SystemInfo.h:16,
                 from Forms/VolumeCreationWizard.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/UserInterface.h:19:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Application.h:17,
                 from Forms/VolumeCreationWizard.cpp:21:
/builddir/build/BUILD/veracrypt-1.21/src/Main/CommandLineInterface.h:103:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CommandLineInterface> CmdLine;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/SystemInfo.h:16,
                 from Forms/VolumeCreationWizard.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/VolumeCreationWizard.cpp:22:0:
/builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:133:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxSingleInstanceChecker> SingleInstanceChecker;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/SystemInfo.h:16,
                 from Forms/VolumeCreationWizard.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/VolumeCreationWizard.cpp:24:0:
Forms/VolumeCreationWizard.h:66:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxTimer> ProgressTimer;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/SystemInfo.h:16,
                 from Forms/VolumeCreationWizard.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/VolumeCreationWizard.cpp:24:0:
Forms/VolumeCreationWizard.h:67:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxTimer> RandomPoolUpdateTimer;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/SystemInfo.h:16,
                 from Forms/VolumeCreationWizard.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/VolumeCreationWizard.cpp:27:0:
Forms/ProgressWizardPage.h:39:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxTimer> mTimer;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/SystemInfo.h:16,
                 from Forms/VolumeCreationWizard.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/VolumeCreationWizard.cpp:29:0:
Forms/VolumeCreationProgressWizardPage.h:51:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxTimer> RandomPoolTimer;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/SystemInfo.h:16,
                 from Forms/VolumeCreationWizard.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Compiling VolumeFormatOptionsWizardPage.cpp
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumeFormatOptionsWizardPage.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumeFormatOptionsWizardPage.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumeFormatOptionsWizardPage.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumeFormatOptionsWizardPage.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/UserInterface.h:19:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:19,
                 from Forms/VolumeFormatOptionsWizardPage.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Main/CommandLineInterface.h:103:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CommandLineInterface> CmdLine;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumeFormatOptionsWizardPage.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/VolumeFormatOptionsWizardPage.cpp:14:0:
/builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:133:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxSingleInstanceChecker> SingleInstanceChecker;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumeFormatOptionsWizardPage.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Compiling VolumeLocationWizardPage.cpp
Compiling VolumePasswordWizardPage.cpp
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumeLocationWizardPage.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumeLocationWizardPage.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumeLocationWizardPage.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumeLocationWizardPage.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/UserInterface.h:19:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:19,
                 from Forms/VolumeLocationWizardPage.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Main/CommandLineInterface.h:103:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CommandLineInterface> CmdLine;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumeLocationWizardPage.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/VolumeLocationWizardPage.cpp:14:0:
/builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:133:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxSingleInstanceChecker> SingleInstanceChecker;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumeLocationWizardPage.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumePasswordWizardPage.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumePasswordWizardPage.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumePasswordWizardPage.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumePasswordWizardPage.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/UserInterface.h:19:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:19,
                 from Forms/VolumePasswordWizardPage.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Main/CommandLineInterface.h:103:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CommandLineInterface> CmdLine;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumePasswordWizardPage.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/VolumePasswordWizardPage.cpp:14:0:
/builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:133:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxSingleInstanceChecker> SingleInstanceChecker;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumePasswordWizardPage.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Compiling VolumePimWizardPage.cpp
Compiling VolumeSizeWizardPage.cpp
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumePimWizardPage.cpp:18:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumePimWizardPage.cpp:18:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumePimWizardPage.cpp:18:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumePimWizardPage.cpp:18:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/UserInterface.h:19:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:19,
                 from Forms/VolumePimWizardPage.cpp:18:
/builddir/build/BUILD/veracrypt-1.21/src/Main/CommandLineInterface.h:103:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CommandLineInterface> CmdLine;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumePimWizardPage.cpp:18:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/VolumePimWizardPage.cpp:18:0:
/builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:133:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxSingleInstanceChecker> SingleInstanceChecker;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumePimWizardPage.cpp:18:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumeSizeWizardPage.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumeSizeWizardPage.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumeSizeWizardPage.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumeSizeWizardPage.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/UserInterface.h:19:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:19,
                 from Forms/VolumeSizeWizardPage.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Main/CommandLineInterface.h:103:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CommandLineInterface> CmdLine;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumeSizeWizardPage.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/VolumeSizeWizardPage.cpp:14:0:
/builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:133:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxSingleInstanceChecker> SingleInstanceChecker;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/VolumeSizeWizardPage.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Compiling WaitDialog.cpp
Compiling WizardFrame.cpp
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/WaitDialog.cpp:11:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Volume/EncryptionModeXTS.h:16,
                 from Forms/WaitDialog.cpp:10:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/WaitDialog.cpp:11:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Volume/EncryptionModeXTS.h:16,
                 from Forms/WaitDialog.cpp:10:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/UserInterface.h:19:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:19,
                 from Forms/WaitDialog.cpp:11:
/builddir/build/BUILD/veracrypt-1.21/src/Main/CommandLineInterface.h:103:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CommandLineInterface> CmdLine;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Volume/EncryptionModeXTS.h:16,
                 from Forms/WaitDialog.cpp:10:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/WaitDialog.cpp:11:0:
/builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:133:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxSingleInstanceChecker> SingleInstanceChecker;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Volume/EncryptionModeXTS.h:16,
                 from Forms/WaitDialog.cpp:10:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/WaitDialog.cpp:12:0:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:196:61: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static void InitLibrary (const string &pkcs11LibraryPath, auto_ptr <GetPinFunctor> pinCallback, auto_ptr <SendExceptionFunctor> warningCallback);
                                                             ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Volume/EncryptionModeXTS.h:16,
                 from Forms/WaitDialog.cpp:10:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/WaitDialog.cpp:12:0:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:196:99: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static void InitLibrary (const string &pkcs11LibraryPath, auto_ptr <GetPinFunctor> pinCallback, auto_ptr <SendExceptionFunctor> warningCallback);
                                                                                                   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Volume/EncryptionModeXTS.h:16,
                 from Forms/WaitDialog.cpp:10:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/WaitDialog.cpp:12:0:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:214:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static auto_ptr <GetPinFunctor> PinCallback;
          ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Volume/EncryptionModeXTS.h:16,
                 from Forms/WaitDialog.cpp:10:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/WaitDialog.cpp:12:0:
/builddir/build/BUILD/veracrypt-1.21/src/Common/SecurityToken.h:222:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   static auto_ptr <SendExceptionFunctor> WarningCallback;
          ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Volume/EncryptionModeXTS.h:16,
                 from Forms/WaitDialog.cpp:10:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/WizardFrame.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:20:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> Core;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/WizardFrame.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:18:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/WizardFrame.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Core/Core.h:21:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CoreBase> CoreDirect;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/WizardFrame.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /builddir/build/BUILD/veracrypt-1.21/src/Main/UserInterface.h:19:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:19,
                 from Forms/WizardFrame.cpp:14:
/builddir/build/BUILD/veracrypt-1.21/src/Main/CommandLineInterface.h:103:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  extern auto_ptr <CommandLineInterface> CmdLine;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/WizardFrame.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from Forms/WizardFrame.cpp:14:0:
/builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:133:3: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   auto_ptr <wxSingleInstanceChecker> SingleInstanceChecker;
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/PlatformBase.h:19,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Platform/Platform.h:16,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/Main.h:17,
                 from /builddir/build/BUILD/veracrypt-1.21/src/Main/GraphicUserInterface.h:18,
                 from Forms/WizardFrame.cpp:14:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
Linking veracrypt
(process:26274): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(process:26274): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(process:26274): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(process:26274): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
+ popd
~/build/BUILD/veracrypt-1.21
+ pushd src/Resources/Icons
~/build/BUILD/veracrypt-1.21/src/Resources/Icons ~/build/BUILD/veracrypt-1.21
+ for s in {16,48,128,256}
+ convert VeraCrypt-16x16.xpm VeraCrypt-16x16.png
+ for s in {16,48,128,256}
+ convert VeraCrypt-48x48.xpm VeraCrypt-48x48.png
+ for s in {16,48,128,256}
+ convert VeraCrypt-128x128.xpm VeraCrypt-128x128.png
+ for s in {16,48,128,256}
+ convert VeraCrypt-256x256.xpm VeraCrypt-256x256.png
+ popd
~/build/BUILD/veracrypt-1.21
+ find src/Setup/Linux/usr -xtype f -iname License.txt -print0
+ xargs --null '-I{}' sed -i -re 's/\r$//' '{}'
find: 'src/Setup/Linux/usr': No such file or directory
+ IFS=
+ find src/Setup/Linux/usr doc/chm -xtype f '(' -iname '*.pdf' -o -iname '*.chm' ')' -print0
+ read -r -d '' file
find: 'src/Setup/Linux/usr': No such file or directory
++ dirname 'doc/chm/VeraCrypt User Guide.chm'
+ d=doc/chm
++ basename 'doc/chm/VeraCrypt User Guide.chm'
+ f='VeraCrypt User Guide.chm'
++ sed -re 's/[[:blank:]]/_/g'
+ g=VeraCrypt_User_Guide.chm
+ [[ VeraCrypt User Guide.chm != \V\e\r\a\C\r\y\p\t\_\U\s\e\r\_\G\u\i\d\e\.\c\h\m ]]
+ mv 'doc/chm/VeraCrypt User Guide.chm' doc/chm/VeraCrypt_User_Guide.chm
+ IFS=
+ read -r -d '' file
+ [[ -f src/Setup/Linux/usr/bin/veracrypt-uninstall.sh ]]
+ :
+ [[ -f src/Setup/Linux/usr/share/pixmaps/veracrypt.xpm ]]
+ :
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.TOZJtR
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/veracrypt-1.21-3.fc28.ppc64le '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/veracrypt-1.21-3.fc28.ppc64le
++ dirname /builddir/build/BUILDROOT/veracrypt-1.21-3.fc28.ppc64le
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/veracrypt-1.21-3.fc28.ppc64le
+ cd veracrypt-1.21
+ [[ -d src/Setup/Linux/usr ]]
+ :
+ [[ -f src/Setup/Linux/veracrypt.desktop ]]
+ install -p -D -m 0644 src/Setup/Linux/veracrypt.desktop /builddir/build/BUILDROOT/veracrypt-1.21-3.fc28.ppc64le/usr/share/applications/veracrypt.desktop
+ [[ -f src/Main/veracrypt ]]
+ install -p -D -m 0755 src/Main/veracrypt /builddir/build/BUILDROOT/veracrypt-1.21-3.fc28.ppc64le/usr/bin/veracrypt
+ for s in {16,48,128,256}
+ [[ -f src/Resources/Icons/VeraCrypt-16x16.png ]]
+ install -p -D -m 0644 src/Resources/Icons/VeraCrypt-16x16.png /builddir/build/BUILDROOT/veracrypt-1.21-3.fc28.ppc64le/usr/share/icons/hicolor/16x16/apps/veracrypt.png
+ for s in {16,48,128,256}
+ [[ -f src/Resources/Icons/VeraCrypt-48x48.png ]]
+ install -p -D -m 0644 src/Resources/Icons/VeraCrypt-48x48.png /builddir/build/BUILDROOT/veracrypt-1.21-3.fc28.ppc64le/usr/share/icons/hicolor/48x48/apps/veracrypt.png
+ for s in {16,48,128,256}
+ [[ -f src/Resources/Icons/VeraCrypt-128x128.png ]]
+ install -p -D -m 0644 src/Resources/Icons/VeraCrypt-128x128.png /builddir/build/BUILDROOT/veracrypt-1.21-3.fc28.ppc64le/usr/share/icons/hicolor/128x128/apps/veracrypt.png
+ for s in {16,48,128,256}
+ [[ -f src/Resources/Icons/VeraCrypt-256x256.png ]]
+ install -p -D -m 0644 src/Resources/Icons/VeraCrypt-256x256.png /builddir/build/BUILDROOT/veracrypt-1.21-3.fc28.ppc64le/usr/share/icons/hicolor/256x256/apps/veracrypt.png
+ for e in {xpm,png}
+ [[ -f src/Resources/Icons/VeraCrypt-256x256.xpm ]]
+ install -p -D -m 0644 src/Resources/Icons/VeraCrypt-256x256.xpm /builddir/build/BUILDROOT/veracrypt-1.21-3.fc28.ppc64le/usr/share/pixmaps/veracrypt.xpm
+ for e in {xpm,png}
+ [[ -f src/Resources/Icons/VeraCrypt-256x256.png ]]
+ install -p -D -m 0644 src/Resources/Icons/VeraCrypt-256x256.png /builddir/build/BUILDROOT/veracrypt-1.21-3.fc28.ppc64le/usr/share/pixmaps/veracrypt.png
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip /usr/bin/strip
+ /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
+ /usr/lib/rpm/brp-python-hardlink
Processing files: veracrypt-1.21-3.fc28.ppc64le
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.f2TbKz
+ umask 022
+ cd /builddir/build/BUILD
+ cd veracrypt-1.21
+ DOCDIR=/builddir/build/BUILDROOT/veracrypt-1.21-3.fc28.ppc64le/usr/share/doc/veracrypt
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/veracrypt-1.21-3.fc28.ppc64le/usr/share/doc/veracrypt
+ cp -pr README.md /builddir/build/BUILDROOT/veracrypt-1.21-3.fc28.ppc64le/usr/share/doc/veracrypt
+ cp -pr doc/chm/VeraCrypt_User_Guide.chm /builddir/build/BUILDROOT/veracrypt-1.21-3.fc28.ppc64le/usr/share/doc/veracrypt
+ cp -pr doc/EFI-DCS/ /builddir/build/BUILDROOT/veracrypt-1.21-3.fc28.ppc64le/usr/share/doc/veracrypt
+ cp -pr doc/html/ /builddir/build/BUILDROOT/veracrypt-1.21-3.fc28.ppc64le/usr/share/doc/veracrypt
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.y1T90h
+ umask 022
+ cd /builddir/build/BUILD
+ cd veracrypt-1.21
+ LICENSEDIR=/builddir/build/BUILDROOT/veracrypt-1.21-3.fc28.ppc64le/usr/share/licenses/veracrypt
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/veracrypt-1.21-3.fc28.ppc64le/usr/share/licenses/veracrypt
+ cp -pr src/License.txt /builddir/build/BUILDROOT/veracrypt-1.21-3.fc28.ppc64le/usr/share/licenses/veracrypt
+ exit 0
Provides: application() application(veracrypt.desktop) veracrypt = 1.21-3.fc28 veracrypt(ppc-64) = 1.21-3.fc28
Requires(interp): /bin/sh /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /bin/sh
Requires(postun): /bin/sh
Requires(posttrans): /bin/sh
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.17)(64bit) libfuse.so.2()(64bit) libfuse.so.2(FUSE_2.6)(64bit) libfuse.so.2(FUSE_2.8)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.17)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.1)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libwx_baseu-3.0.so.0()(64bit) libwx_baseu-3.0.so.0(WXU_3.0)(64bit) libwx_gtk3u_adv-3.0.so.0()(64bit) libwx_gtk3u_adv-3.0.so.0(WXU_3.0)(64bit) libwx_gtk3u_core-3.0.so.0()(64bit) libwx_gtk3u_core-3.0.so.0(WXU_3.0)(64bit)
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/veracrypt-1.21-3.fc28.ppc64le
Wrote: /builddir/build/RPMS/veracrypt-1.21-3.fc28.ppc64le.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.yumWj1
+ umask 022
+ cd /builddir/build/BUILD
+ cd veracrypt-1.21
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/veracrypt-1.21-3.fc28.ppc64le
+ exit 0
Child return code was: 0