Cook: sockets 2.3.9.9 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): libcomerr-1.45.6-i486 Installing (pkg/local): util-linux-smartcols-2.33.1-i486 Installing (pkg/local): util-linux-mount-2.33.1-i486 Installing (pkg/local): util-linux-uuid-2.33.1-i486 Installing (pkg/local): util-linux-blkid-2.33.1-i486 Installing (pkg/local): e2fsprogs-1.45.6-i486 Installing (pkg/local): e2fsprogs-fsck-1.45.6-i486 Installing (pkg/local): libcomerr-dev-1.45.6-i486 Installing (pkg/local): e2fsprogs-dev-1.45.6-i486 Installing (pkg/local): openssl-dev-1.1.1d-i486 Extracting source archive "Sockets-2.3.9.9.tar.gz" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed [g++] Compiling Ajp13Socket.cpp [g++] Compiling Base64.cpp [g++] Compiling AjpBaseSocket.cpp [g++] Compiling Debug.cpp [g++] Compiling Event.cpp [g++] Compiling EventHandler.cpp [g++] Compiling EventTime.cpp [g++] Compiling Exception.cpp In file included from Debug.h:35, from Debug.cpp:31: Utility.h:204:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr CreateAddress(struct sockaddr *,socklen_t); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from Utility.h:37, from Debug.h:35, from Debug.cpp:31: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ [g++] Compiling File.cpp In file included from Exception.cpp:37: Utility.h:204:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr CreateAddress(struct sockaddr *,socklen_t); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from Utility.h:37, from Exception.cpp:37: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ [g++] Compiling FileStream.cpp In file included from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from AjpBaseSocket.h:36, from Ajp13Socket.h:36, from Ajp13Socket.cpp:36: SocketAddress.h:95:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr GetCopy() = 0; ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from AjpBaseSocket.h:36, from Ajp13Socket.h:36, from Ajp13Socket.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from AjpBaseSocket.h:36, from Ajp13Socket.h:36, from Ajp13Socket.cpp:36: Socket.h:180:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetClientRemoteAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from AjpBaseSocket.h:36, from Ajp13Socket.h:36, from Ajp13Socket.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from AjpBaseSocket.h:36, from Ajp13Socket.h:36, from Ajp13Socket.cpp:36: Socket.h:303:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetRemoteSocketAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from AjpBaseSocket.h:36, from Ajp13Socket.h:36, from Ajp13Socket.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from AjpBaseSocket.h:36, from Ajp13Socket.h:36, from Ajp13Socket.cpp:36: Socket.h:668:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_client_remote_address; ///< Address of last connect() ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from AjpBaseSocket.h:36, from Ajp13Socket.h:36, from Ajp13Socket.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from AjpBaseSocket.h:36, from Ajp13Socket.h:36, from Ajp13Socket.cpp:36: Socket.h:669:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_remote_address; ///< Remote end address ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from AjpBaseSocket.h:36, from Ajp13Socket.h:36, from Ajp13Socket.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from AjpBaseSocket.h:36, from Ajp13Socket.h:36, from Ajp13Socket.cpp:36: Socket.h: In constructor 'Socket::Socket()': Socket.h:645:2: warning: 'Socket::m_handler' is initialized with itself [-Winit-self] Socket() : m_handler(m_handler) {} ^~~~~~ In file included from AjpBaseSocket.h:38, from Ajp13Socket.h:36, from Ajp13Socket.cpp:36: Utility.h: At global scope: Utility.h:204:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr CreateAddress(struct sockaddr *,socklen_t); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from AjpBaseSocket.h:36, from Ajp13Socket.h:36, from Ajp13Socket.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Ajp13Socket.h:37, from Ajp13Socket.cpp:36: HttpRequest.h:127:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] mutable std::auto_ptr m_body_file; ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from AjpBaseSocket.h:36, from Ajp13Socket.h:36, from Ajp13Socket.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Ajp13Socket.h:37, from Ajp13Socket.cpp:36: HttpRequest.h:128:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] mutable std::auto_ptr m_form; ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from AjpBaseSocket.h:36, from Ajp13Socket.h:36, from Ajp13Socket.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Ajp13Socket.h:39, from Ajp13Socket.cpp:36: HttpResponse.h:88:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] mutable std::auto_ptr m_file; ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from AjpBaseSocket.h:36, from Ajp13Socket.h:36, from Ajp13Socket.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Socket.h:45, from ISocketHandler.h:40, from SocketHandler.h:40, from EventHandler.h:36, from EventHandler.cpp:35: SocketAddress.h:95:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr GetCopy() = 0; ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from SocketHandler.h:40, from EventHandler.h:36, from EventHandler.cpp:35: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from SocketHandler.h:40, from EventHandler.h:36, from EventHandler.cpp:35: Socket.h:180:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetClientRemoteAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from SocketHandler.h:40, from EventHandler.h:36, from EventHandler.cpp:35: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from SocketHandler.h:40, from EventHandler.h:36, from EventHandler.cpp:35: Socket.h:303:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetRemoteSocketAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from SocketHandler.h:40, from EventHandler.h:36, from EventHandler.cpp:35: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from SocketHandler.h:40, from EventHandler.h:36, from EventHandler.cpp:35: Socket.h:668:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_client_remote_address; ///< Address of last connect() ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from SocketHandler.h:40, from EventHandler.h:36, from EventHandler.cpp:35: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from SocketHandler.h:40, from EventHandler.h:36, from EventHandler.cpp:35: Socket.h:669:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_remote_address; ///< Remote end address ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from SocketHandler.h:40, from EventHandler.h:36, from EventHandler.cpp:35: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from SocketHandler.h:40, from EventHandler.h:36, from EventHandler.cpp:35: Socket.h: In constructor 'Socket::Socket()': Socket.h:645:2: warning: 'Socket::m_handler' is initialized with itself [-Winit-self] Socket() : m_handler(m_handler) {} ^~~~~~ In file included from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from AjpBaseSocket.h:36, from AjpBaseSocket.cpp:36: SocketAddress.h:95:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr GetCopy() = 0; ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from AjpBaseSocket.h:36, from AjpBaseSocket.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from AjpBaseSocket.h:36, from AjpBaseSocket.cpp:36: Socket.h:180:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetClientRemoteAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from AjpBaseSocket.h:36, from AjpBaseSocket.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from AjpBaseSocket.h:36, from AjpBaseSocket.cpp:36: Socket.h:303:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetRemoteSocketAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from AjpBaseSocket.h:36, from AjpBaseSocket.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from AjpBaseSocket.h:36, from AjpBaseSocket.cpp:36: Socket.h:668:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_client_remote_address; ///< Address of last connect() ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from AjpBaseSocket.h:36, from AjpBaseSocket.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from AjpBaseSocket.h:36, from AjpBaseSocket.cpp:36: Socket.h:669:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_remote_address; ///< Remote end address ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from AjpBaseSocket.h:36, from AjpBaseSocket.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from AjpBaseSocket.h:36, from AjpBaseSocket.cpp:36: Socket.h: In constructor 'Socket::Socket()': Socket.h:645:2: warning: 'Socket::m_handler' is initialized with itself [-Winit-self] Socket() : m_handler(m_handler) {} ^~~~~~ [g++] Compiling HTTPSocket.cpp In file included from ListenSocket.h:44, from EventHandler.cpp:39: Utility.h: At global scope: Utility.h:204:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr CreateAddress(struct sockaddr *,socklen_t); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from SocketHandler.h:40, from EventHandler.h:36, from EventHandler.cpp:35: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ListenSocket.h:46, from EventHandler.cpp:39: Ipv4Address.h:81:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetCopy(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from SocketHandler.h:40, from EventHandler.h:36, from EventHandler.cpp:35: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from AjpBaseSocket.h:38, from AjpBaseSocket.cpp:36: Utility.h: At global scope: Utility.h:204:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr CreateAddress(struct sockaddr *,socklen_t); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from AjpBaseSocket.h:36, from AjpBaseSocket.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ [g++] Compiling HttpBaseSocket.cpp [g++] Compiling HttpClientSocket.cpp [g++] Compiling HttpDebugSocket.cpp [g++] Compiling HttpGetSocket.cpp In file included from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HTTPSocket.cpp:35: SocketAddress.h:95:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr GetCopy() = 0; ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HTTPSocket.cpp:35: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HTTPSocket.cpp:35: Socket.h:180:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetClientRemoteAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HTTPSocket.cpp:35: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HTTPSocket.cpp:35: Socket.h:303:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetRemoteSocketAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HTTPSocket.cpp:35: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HTTPSocket.cpp:35: Socket.h:668:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_client_remote_address; ///< Address of last connect() ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HTTPSocket.cpp:35: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HTTPSocket.cpp:35: Socket.h:669:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_remote_address; ///< Remote end address ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HTTPSocket.cpp:35: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HTTPSocket.cpp:35: Socket.h: In constructor 'Socket::Socket()': Socket.h:645:2: warning: 'Socket::m_handler' is initialized with itself [-Winit-self] Socket() : m_handler(m_handler) {} ^~~~~~ In file included from HTTPSocket.h:37, from HTTPSocket.cpp:35: Utility.h: At global scope: Utility.h:204:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr CreateAddress(struct sockaddr *,socklen_t); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HTTPSocket.cpp:35: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpBaseSocket.h:36, from HttpBaseSocket.cpp:36: SocketAddress.h:95:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr GetCopy() = 0; ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpBaseSocket.h:36, from HttpBaseSocket.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpBaseSocket.h:36, from HttpBaseSocket.cpp:36: Socket.h:180:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetClientRemoteAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpBaseSocket.h:36, from HttpBaseSocket.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpBaseSocket.h:36, from HttpBaseSocket.cpp:36: Socket.h:303:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetRemoteSocketAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpBaseSocket.h:36, from HttpBaseSocket.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpBaseSocket.h:36, from HttpBaseSocket.cpp:36: Socket.h:668:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_client_remote_address; ///< Address of last connect() ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpBaseSocket.h:36, from HttpBaseSocket.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpBaseSocket.h:36, from HttpBaseSocket.cpp:36: Socket.h:669:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_remote_address; ///< Remote end address ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpBaseSocket.h:36, from HttpBaseSocket.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpBaseSocket.h:36, from HttpBaseSocket.cpp:36: Socket.h: In constructor 'Socket::Socket()': Socket.h:645:2: warning: 'Socket::m_handler' is initialized with itself [-Winit-self] Socket() : m_handler(m_handler) {} ^~~~~~ In file included from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpClientSocket.h:37, from HttpClientSocket.cpp:36: SocketAddress.h:95:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr GetCopy() = 0; ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpClientSocket.h:37, from HttpClientSocket.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpClientSocket.h:37, from HttpClientSocket.cpp:36: Socket.h:180:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetClientRemoteAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpClientSocket.h:37, from HttpClientSocket.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpClientSocket.h:37, from HttpClientSocket.cpp:36: Socket.h:303:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetRemoteSocketAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpClientSocket.h:37, from HttpClientSocket.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpClientSocket.h:37, from HttpClientSocket.cpp:36: Socket.h:668:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_client_remote_address; ///< Address of last connect() ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpClientSocket.h:37, from HttpClientSocket.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpClientSocket.h:37, from HttpClientSocket.cpp:36: Socket.h:669:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_remote_address; ///< Remote end address ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpClientSocket.h:37, from HttpClientSocket.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpClientSocket.h:37, from HttpClientSocket.cpp:36: Socket.h: In constructor 'Socket::Socket()': Socket.h:645:2: warning: 'Socket::m_handler' is initialized with itself [-Winit-self] Socket() : m_handler(m_handler) {} ^~~~~~ In file included from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpDebugSocket.h:35, from HttpDebugSocket.cpp:34: SocketAddress.h:95:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr GetCopy() = 0; ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpDebugSocket.h:35, from HttpDebugSocket.cpp:34: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpDebugSocket.h:35, from HttpDebugSocket.cpp:34: Socket.h:180:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetClientRemoteAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpDebugSocket.h:35, from HttpDebugSocket.cpp:34: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpDebugSocket.h:35, from HttpDebugSocket.cpp:34: Socket.h:303:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetRemoteSocketAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpDebugSocket.h:35, from HttpDebugSocket.cpp:34: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpDebugSocket.h:35, from HttpDebugSocket.cpp:34: Socket.h:668:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_client_remote_address; ///< Address of last connect() ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpDebugSocket.h:35, from HttpDebugSocket.cpp:34: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpDebugSocket.h:35, from HttpDebugSocket.cpp:34: Socket.h:669:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_remote_address; ///< Remote end address ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpDebugSocket.h:35, from HttpDebugSocket.cpp:34: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpDebugSocket.h:35, from HttpDebugSocket.cpp:34: Socket.h: In constructor 'Socket::Socket()': Socket.h:645:2: warning: 'Socket::m_handler' is initialized with itself [-Winit-self] Socket() : m_handler(m_handler) {} ^~~~~~ In file included from Socket.h:45, from ISocketHandler.h:40, from HttpGetSocket.cpp:39: SocketAddress.h:95:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr GetCopy() = 0; ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from HttpGetSocket.cpp:39: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from HTTPSocket.h:37, from HttpDebugSocket.h:35, from HttpDebugSocket.cpp:34: Utility.h: At global scope: Utility.h:204:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr CreateAddress(struct sockaddr *,socklen_t); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpDebugSocket.h:35, from HttpDebugSocket.cpp:34: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from HttpGetSocket.cpp:39: Socket.h:180:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetClientRemoteAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from HttpGetSocket.cpp:39: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from HttpGetSocket.cpp:39: Socket.h:303:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetRemoteSocketAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from HttpGetSocket.cpp:39: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from HttpGetSocket.cpp:39: Socket.h:668:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_client_remote_address; ///< Address of last connect() ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from HttpGetSocket.cpp:39: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from HttpGetSocket.cpp:39: Socket.h:669:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_remote_address; ///< Remote end address ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from HttpGetSocket.cpp:39: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from HttpGetSocket.cpp:39: Socket.h: In constructor 'Socket::Socket()': Socket.h:645:2: warning: 'Socket::m_handler' is initialized with itself [-Winit-self] Socket() : m_handler(m_handler) {} ^~~~~~ In file included from HTTPSocket.h:37, from HttpBaseSocket.h:36, from HttpBaseSocket.cpp:36: Utility.h: At global scope: Utility.h:204:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr CreateAddress(struct sockaddr *,socklen_t); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpBaseSocket.h:36, from HttpBaseSocket.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from HTTPSocket.h:37, from HttpClientSocket.h:37, from HttpGetSocket.h:36, from HttpGetSocket.cpp:40: Utility.h: At global scope: Utility.h:204:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr CreateAddress(struct sockaddr *,socklen_t); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from HttpGetSocket.cpp:39: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from HTTPSocket.h:37, from HttpClientSocket.h:37, from HttpClientSocket.cpp:36: Utility.h: At global scope: Utility.h:204:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr CreateAddress(struct sockaddr *,socklen_t); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpClientSocket.h:37, from HttpClientSocket.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from HttpBaseSocket.h:37, from HttpBaseSocket.cpp:36: HttpRequest.h:127:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] mutable std::auto_ptr m_body_file; ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpBaseSocket.h:36, from HttpBaseSocket.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from HttpBaseSocket.h:37, from HttpBaseSocket.cpp:36: HttpRequest.h:128:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] mutable std::auto_ptr m_form; ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpBaseSocket.h:36, from HttpBaseSocket.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from HttpBaseSocket.h:39, from HttpBaseSocket.cpp:36: HttpResponse.h:88:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] mutable std::auto_ptr m_file; ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpBaseSocket.h:36, from HttpBaseSocket.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ [g++] Compiling HttpPostSocket.cpp [g++] Compiling HttpPutSocket.cpp [g++] Compiling HttpRequest.cpp [g++] Compiling HttpResponse.cpp [g++] Compiling HttpTransaction.cpp In file included from Socket.h:45, from ISocketHandler.h:40, from HttpPostSocket.cpp:41: SocketAddress.h:95:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr GetCopy() = 0; ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from HttpPostSocket.cpp:41: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from HttpPostSocket.cpp:41: Socket.h:180:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetClientRemoteAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from HttpPostSocket.cpp:41: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from HttpPostSocket.cpp:41: Socket.h:303:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetRemoteSocketAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from HttpPostSocket.cpp:41: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from HttpPostSocket.cpp:41: Socket.h:668:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_client_remote_address; ///< Address of last connect() ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from HttpPostSocket.cpp:41: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from HttpPostSocket.cpp:41: Socket.h:669:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_remote_address; ///< Remote end address ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from HttpPostSocket.cpp:41: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from HttpPostSocket.cpp:41: Socket.h: In constructor 'Socket::Socket()': Socket.h:645:2: warning: 'Socket::m_handler' is initialized with itself [-Winit-self] Socket() : m_handler(m_handler) {} ^~~~~~ In file included from HttpTransaction.h:36, from HttpRequest.h:36, from HttpRequest.cpp:36: Utility.h:204:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr CreateAddress(struct sockaddr *,socklen_t); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from Utility.h:37, from HttpTransaction.h:36, from HttpRequest.h:36, from HttpRequest.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from HTTPSocket.h:37, from HttpClientSocket.h:37, from HttpPostSocket.h:36, from HttpPostSocket.cpp:47: Utility.h: At global scope: Utility.h:204:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr CreateAddress(struct sockaddr *,socklen_t); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from HttpPostSocket.cpp:41: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from HttpRequest.cpp:36: HttpRequest.h:127:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] mutable std::auto_ptr m_body_file; ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from Utility.h:37, from HttpTransaction.h:36, from HttpRequest.h:36, from HttpRequest.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from HttpRequest.cpp:36: HttpRequest.h:128:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] mutable std::auto_ptr m_form; ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from Utility.h:37, from HttpTransaction.h:36, from HttpRequest.h:36, from HttpRequest.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ HttpPostSocket.cpp: In member function 'void HttpPostSocket::DoMultipartPost()': HttpPostSocket.cpp:264:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fil = std::auto_ptr(new File); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from HttpPostSocket.cpp:41: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ HttpPostSocket.cpp:264:37: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fil = std::auto_ptr(new File); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from HttpPostSocket.cpp:41: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from HttpTransaction.h:36, from HttpResponse.h:36, from HttpResponse.cpp:39: Utility.h:204:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr CreateAddress(struct sockaddr *,socklen_t); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from Utility.h:37, from HttpTransaction.h:36, from HttpResponse.h:36, from HttpResponse.cpp:39: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ HttpRequest.cpp: In constructor 'HttpRequest::HttpRequest(FILE*)': HttpRequest.cpp:121:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] m_form = std::auto_ptr(new HttpdForm(fil)); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from Utility.h:37, from HttpTransaction.h:36, from HttpRequest.h:36, from HttpRequest.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from HttpResponse.cpp:39: HttpResponse.h:88:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] mutable std::auto_ptr m_file; ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from Utility.h:37, from HttpTransaction.h:36, from HttpResponse.h:36, from HttpResponse.cpp:39: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from HttpResponse.cpp:40: HttpRequest.h:127:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] mutable std::auto_ptr m_body_file; ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from Utility.h:37, from HttpTransaction.h:36, from HttpResponse.h:36, from HttpResponse.cpp:39: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from HttpResponse.cpp:40: HttpRequest.h:128:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] mutable std::auto_ptr m_form; ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from Utility.h:37, from HttpTransaction.h:36, from HttpResponse.h:36, from HttpResponse.cpp:39: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ HttpRequest.cpp: In member function 'void HttpRequest::InitBody(size_t)': HttpRequest.cpp:338:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] m_body_file = std::auto_ptr(new MemFile); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from Utility.h:37, from HttpTransaction.h:36, from HttpRequest.h:36, from HttpRequest.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Socket.h:45, from ISocketHandler.h:40, from HttpPutSocket.cpp:39: SocketAddress.h:95:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr GetCopy() = 0; ^~~~~~~~ HttpRequest.cpp: In member function 'void HttpRequest::ParseBody()': HttpRequest.cpp:371:17: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] m_form = std::auto_ptr(new HttpdForm( qs, qs.size() )); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from HttpPutSocket.cpp:39: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from HttpPutSocket.cpp:39: Socket.h:180:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetClientRemoteAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from Utility.h:37, from HttpTransaction.h:36, from HttpRequest.h:36, from HttpRequest.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ HttpRequest.cpp:376:17: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] m_form = std::auto_ptr(new HttpdForm( m_body_file.get(), ContentType(), ContentLength() )); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from Utility.h:37, from HttpTransaction.h:36, from HttpRequest.h:36, from HttpRequest.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ HttpRequest.cpp:381:17: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] m_form = std::auto_ptr(new HttpdForm( "", 0 )); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from Utility.h:37, from HttpTransaction.h:36, from HttpRequest.h:36, from HttpRequest.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ HttpRequest.cpp: In member function 'virtual void HttpRequest::Reset()': HttpRequest.cpp:418:21: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] m_body_file = std::auto_ptr(NULL); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from HttpPutSocket.cpp:39: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from HttpPutSocket.cpp:39: Socket.h:303:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetRemoteSocketAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from Utility.h:37, from HttpTransaction.h:36, from HttpRequest.h:36, from HttpRequest.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ HttpRequest.cpp:419:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] m_form = std::auto_ptr(NULL); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from Utility.h:37, from HttpTransaction.h:36, from HttpRequest.h:36, from HttpRequest.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from HttpPutSocket.cpp:39: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from HttpPutSocket.cpp:39: Socket.h:668:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_client_remote_address; ///< Address of last connect() ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from HttpPutSocket.cpp:39: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from HttpPutSocket.cpp:39: Socket.h:669:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_remote_address; ///< Remote end address ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from HttpPutSocket.cpp:39: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from HttpPutSocket.cpp:39: Socket.h: In constructor 'Socket::Socket()': Socket.h:645:2: warning: 'Socket::m_handler' is initialized with itself [-Winit-self] Socket() : m_handler(m_handler) {} ^~~~~~ HttpResponse.cpp: In member function 'void HttpResponse::SetFile(const string&)': HttpResponse.cpp:221:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] m_file = std::auto_ptr(new File); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from Utility.h:37, from HttpTransaction.h:36, from HttpResponse.h:36, from HttpResponse.cpp:39: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ HttpResponse.cpp: In member function 'void HttpResponse::SetFile(IFile*)': HttpResponse.cpp:229:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] m_file = std::auto_ptr(f); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from Utility.h:37, from HttpTransaction.h:36, from HttpResponse.h:36, from HttpResponse.cpp:39: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ HttpResponse.cpp: In member function 'virtual void HttpResponse::Reset()': HttpResponse.cpp:244:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] m_file = std::auto_ptr(new MemFile); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from Utility.h:37, from HttpTransaction.h:36, from HttpResponse.h:36, from HttpResponse.cpp:39: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from HTTPSocket.h:37, from HttpClientSocket.h:37, from HttpPutSocket.h:36, from HttpPutSocket.cpp:44: Utility.h: At global scope: Utility.h:204:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr CreateAddress(struct sockaddr *,socklen_t); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from HttpPutSocket.cpp:39: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from HttpTransaction.h:36, from HttpTransaction.cpp:36: Utility.h:204:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr CreateAddress(struct sockaddr *,socklen_t); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from Utility.h:37, from HttpTransaction.h:36, from HttpTransaction.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ HttpPutSocket.cpp: In member function 'virtual void HttpPutSocket::OnConnect()': HttpPutSocket.cpp:107:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fil = std::auto_ptr(new File); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from HttpPutSocket.cpp:39: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ HttpPutSocket.cpp:107:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fil = std::auto_ptr(new File); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from HttpPutSocket.cpp:39: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ [g++] Compiling HttpdCookies.cpp [g++] Compiling HttpdForm.cpp [g++] Compiling HttpdSocket.cpp [g++] Compiling IEventOwner.cpp HttpdForm.cpp: In constructor 'HttpdForm::HttpdForm(FILE*)': HttpdForm.cpp:67:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p = std::auto_ptr(new File(fil)); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from HttpdForm.cpp:43: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ HttpdForm.cpp:67:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p = std::auto_ptr(new File(fil)); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from HttpdForm.cpp:43: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ [g++] Compiling Ipv4Address.cpp In file included from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpdCookies.cpp:35: SocketAddress.h:95:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr GetCopy() = 0; ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpdCookies.cpp:35: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpdCookies.cpp:35: Socket.h:180:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetClientRemoteAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpdCookies.cpp:35: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpdCookies.cpp:35: Socket.h:303:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetRemoteSocketAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpdCookies.cpp:35: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpdCookies.cpp:35: Socket.h:668:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_client_remote_address; ///< Address of last connect() ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpdCookies.cpp:35: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpdCookies.cpp:35: Socket.h:669:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_remote_address; ///< Remote end address ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpdCookies.cpp:35: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpdCookies.cpp:35: Socket.h: In constructor 'Socket::Socket()': Socket.h:645:2: warning: 'Socket::m_handler' is initialized with itself [-Winit-self] Socket() : m_handler(m_handler) {} ^~~~~~ In file included from HTTPSocket.h:37, from HttpdCookies.cpp:35: Utility.h: At global scope: Utility.h:204:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr CreateAddress(struct sockaddr *,socklen_t); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpdCookies.cpp:35: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpdSocket.h:34, from HttpdSocket.cpp:36: SocketAddress.h:95:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr GetCopy() = 0; ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpdSocket.h:34, from HttpdSocket.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpdSocket.h:34, from HttpdSocket.cpp:36: Socket.h:180:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetClientRemoteAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpdSocket.h:34, from HttpdSocket.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpdSocket.h:34, from HttpdSocket.cpp:36: Socket.h:303:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetRemoteSocketAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpdSocket.h:34, from HttpdSocket.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpdSocket.h:34, from HttpdSocket.cpp:36: Socket.h:668:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_client_remote_address; ///< Address of last connect() ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpdSocket.h:34, from HttpdSocket.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpdSocket.h:34, from HttpdSocket.cpp:36: Socket.h:669:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_remote_address; ///< Remote end address ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpdSocket.h:34, from HttpdSocket.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpdSocket.h:34, from HttpdSocket.cpp:36: Socket.h: In constructor 'Socket::Socket()': Socket.h:645:2: warning: 'Socket::m_handler' is initialized with itself [-Winit-self] Socket() : m_handler(m_handler) {} ^~~~~~ In file included from HTTPSocket.h:37, from HttpdSocket.h:34, from HttpdSocket.cpp:36: Utility.h: At global scope: Utility.h:204:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr CreateAddress(struct sockaddr *,socklen_t); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from HTTPSocket.h:36, from HttpdSocket.h:34, from HttpdSocket.cpp:36: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ [g++] Compiling Ipv6Address.cpp [g++] Compiling Json.cpp In file included from Ipv4Address.h:37, from Ipv4Address.cpp:33: SocketAddress.h:95:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr GetCopy() = 0; ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Ipv4Address.h:37, from Ipv4Address.cpp:33: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Ipv4Address.cpp:33: Ipv4Address.h:81:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetCopy(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Ipv4Address.h:37, from Ipv4Address.cpp:33: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Ipv4Address.cpp:34: Utility.h:204:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr CreateAddress(struct sockaddr *,socklen_t); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Ipv4Address.h:37, from Ipv4Address.cpp:33: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ Ipv4Address.cpp:206:6: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr Ipv4Address::GetCopy() ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Ipv4Address.h:37, from Ipv4Address.cpp:33: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ Ipv4Address.cpp: In member function 'virtual std::auto_ptr Ipv4Address::GetCopy()': Ipv4Address.cpp:208:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] return std::auto_ptr(new Ipv4Address(m_addr)); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Ipv4Address.h:37, from Ipv4Address.cpp:33: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ [g++] Compiling Lock.cpp [g++] Compiling MemFile.cpp [g++] Compiling Mutex.cpp [g++] Compiling Parse.cpp [g++] Compiling ResolvServer.cpp In file included from Json.cpp:33: Utility.h:204:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr CreateAddress(struct sockaddr *,socklen_t); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from Utility.h:37, from Json.cpp:33: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from MemFile.cpp:43: Utility.h:204:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr CreateAddress(struct sockaddr *,socklen_t); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from Utility.h:37, from MemFile.cpp:43: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ MemFile.cpp: In constructor 'MemFile::MemFile()': MemFile.cpp:51:1: warning: 'MemFile::m_src' is initialized with itself [-Winit-self] MemFile::MemFile() ^~~~~~~ MemFile.cpp: In constructor 'MemFile::MemFile(File&)': MemFile.cpp:85:1: warning: 'MemFile::m_src' is initialized with itself [-Winit-self] MemFile::MemFile(File& f) ^~~~~~~ [g++] Compiling ResolvSocket.cpp [g++] Compiling SSLInitializer.cpp [g++] Compiling SctpSocket.cpp In file included from Socket.h:45, from ISocketHandler.h:40, from ListenSocket.h:42, from ResolvServer.cpp:38: SocketAddress.h:95:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr GetCopy() = 0; ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from ListenSocket.h:42, from ResolvServer.cpp:38: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from ListenSocket.h:42, from ResolvServer.cpp:38: Socket.h:180:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetClientRemoteAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from ListenSocket.h:42, from ResolvServer.cpp:38: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from ListenSocket.h:42, from ResolvServer.cpp:38: Socket.h:303:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetRemoteSocketAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from ListenSocket.h:42, from ResolvServer.cpp:38: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from ListenSocket.h:42, from ResolvServer.cpp:38: Socket.h:668:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_client_remote_address; ///< Address of last connect() ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from ListenSocket.h:42, from ResolvServer.cpp:38: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from ListenSocket.h:42, from ResolvServer.cpp:38: Socket.h:669:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_remote_address; ///< Remote end address ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from ListenSocket.h:42, from ResolvServer.cpp:38: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from ListenSocket.h:42, from ResolvServer.cpp:38: Socket.h: In constructor 'Socket::Socket()': Socket.h:645:2: warning: 'Socket::m_handler' is initialized with itself [-Winit-self] Socket() : m_handler(m_handler) {} ^~~~~~ In file included from ListenSocket.h:44, from ResolvServer.cpp:38: Utility.h: At global scope: Utility.h:204:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr CreateAddress(struct sockaddr *,socklen_t); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from ListenSocket.h:42, from ResolvServer.cpp:38: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ListenSocket.h:46, from ResolvServer.cpp:38: Ipv4Address.h:81:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetCopy(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from ListenSocket.h:42, from ResolvServer.cpp:38: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from ResolvSocket.h:36, from ResolvSocket.cpp:40: SocketAddress.h:95:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr GetCopy() = 0; ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from ResolvSocket.h:36, from ResolvSocket.cpp:40: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from ResolvSocket.h:36, from ResolvSocket.cpp:40: Socket.h:180:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetClientRemoteAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from ResolvSocket.h:36, from ResolvSocket.cpp:40: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from ResolvSocket.h:36, from ResolvSocket.cpp:40: Socket.h:303:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetRemoteSocketAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from ResolvSocket.h:36, from ResolvSocket.cpp:40: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from ResolvSocket.h:36, from ResolvSocket.cpp:40: Socket.h:668:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_client_remote_address; ///< Address of last connect() ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from ResolvSocket.h:36, from ResolvSocket.cpp:40: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from ResolvSocket.h:36, from ResolvSocket.cpp:40: Socket.h:669:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_remote_address; ///< Remote end address ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from ResolvSocket.h:36, from ResolvSocket.cpp:40: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from ResolvSocket.h:36, from ResolvSocket.cpp:40: Socket.h: In constructor 'Socket::Socket()': Socket.h:645:2: warning: 'Socket::m_handler' is initialized with itself [-Winit-self] Socket() : m_handler(m_handler) {} ^~~~~~ [g++] Compiling SmtpdSocket.cpp In file included from ResolvSocket.cpp:42: Utility.h: At global scope: Utility.h:204:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr CreateAddress(struct sockaddr *,socklen_t); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from ResolvSocket.h:36, from ResolvSocket.cpp:40: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Socket.h:45, from StreamSocket.h:36, from SctpSocket.h:37, from SctpSocket.cpp:33: SocketAddress.h:95:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr GetCopy() = 0; ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from SctpSocket.h:37, from SctpSocket.cpp:33: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from SctpSocket.h:37, from SctpSocket.cpp:33: Socket.h:180:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetClientRemoteAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from SctpSocket.h:37, from SctpSocket.cpp:33: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from SctpSocket.h:37, from SctpSocket.cpp:33: Socket.h:303:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetRemoteSocketAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from SctpSocket.h:37, from SctpSocket.cpp:33: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from SctpSocket.h:37, from SctpSocket.cpp:33: Socket.h:668:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_client_remote_address; ///< Address of last connect() ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from SctpSocket.h:37, from SctpSocket.cpp:33: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from SctpSocket.h:37, from SctpSocket.cpp:33: Socket.h:669:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_remote_address; ///< Remote end address ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from SctpSocket.h:37, from SctpSocket.cpp:33: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from SctpSocket.h:37, from SctpSocket.cpp:33: Socket.h: In constructor 'Socket::Socket()': Socket.h:645:2: warning: 'Socket::m_handler' is initialized with itself [-Winit-self] Socket() : m_handler(m_handler) {} ^~~~~~ [g++] Compiling Socket.cpp In file included from SSLInitializer.cpp:42: Utility.h:204:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr CreateAddress(struct sockaddr *,socklen_t); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from Utility.h:37, from SSLInitializer.cpp:42: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ [g++] Compiling SocketHandler.cpp [g++] Compiling SocketHandlerEp.cpp In file included from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from SmtpdSocket.h:38, from SmtpdSocket.cpp:33: SocketAddress.h:95:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr GetCopy() = 0; ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from SmtpdSocket.h:38, from SmtpdSocket.cpp:33: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from SmtpdSocket.h:38, from SmtpdSocket.cpp:33: Socket.h:180:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetClientRemoteAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from SmtpdSocket.h:38, from SmtpdSocket.cpp:33: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from SmtpdSocket.h:38, from SmtpdSocket.cpp:33: Socket.h:303:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetRemoteSocketAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from SmtpdSocket.h:38, from SmtpdSocket.cpp:33: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from SmtpdSocket.h:38, from SmtpdSocket.cpp:33: Socket.h:668:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_client_remote_address; ///< Address of last connect() ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from SmtpdSocket.h:38, from SmtpdSocket.cpp:33: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from SmtpdSocket.h:38, from SmtpdSocket.cpp:33: Socket.h:669:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_remote_address; ///< Remote end address ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from SmtpdSocket.h:38, from SmtpdSocket.cpp:33: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from TcpSocket.h:35, from SmtpdSocket.h:38, from SmtpdSocket.cpp:33: Socket.h: In constructor 'Socket::Socket()': Socket.h:645:2: warning: 'Socket::m_handler' is initialized with itself [-Winit-self] Socket() : m_handler(m_handler) {} ^~~~~~ In file included from SmtpdSocket.cpp:35: Utility.h: At global scope: Utility.h:204:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr CreateAddress(struct sockaddr *,socklen_t); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from TcpSocket.h:35, from SmtpdSocket.h:38, from SmtpdSocket.cpp:33: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Socket.h:45, from Socket.cpp:32: SocketAddress.h:95:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr GetCopy() = 0; ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from Socket.cpp:32: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Socket.cpp:32: Socket.h:180:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetClientRemoteAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from Socket.cpp:32: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Socket.cpp:32: Socket.h:303:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetRemoteSocketAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from Socket.cpp:32: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Socket.cpp:32: Socket.h:668:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_client_remote_address; ///< Address of last connect() ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from Socket.cpp:32: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Socket.cpp:32: Socket.h:669:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_remote_address; ///< Remote end address ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from Socket.cpp:32: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Socket.cpp:32: Socket.h: In constructor 'Socket::Socket()': Socket.h:645:2: warning: 'Socket::m_handler' is initialized with itself [-Winit-self] Socket() : m_handler(m_handler) {} ^~~~~~ In file included from Socket.cpp:45: Utility.h: At global scope: Utility.h:204:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr CreateAddress(struct sockaddr *,socklen_t); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from Socket.cpp:32: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ [g++] Compiling SocketHandlerThread.cpp In file included from Socket.cpp:52: Ipv4Address.h:81:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetCopy(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from Socket.cpp:32: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ Socket.cpp:290:6: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr Socket::GetRemoteSocketAddress() ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from Socket.cpp:32: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ Socket.cpp:605:6: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr Socket::GetClientRemoteAddress() ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from Socket.cpp:32: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Socket.h:45, from ISocketHandler.h:40, from SocketHandler.h:40, from SocketHandler.cpp:41: SocketAddress.h:95:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr GetCopy() = 0; ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from SocketHandler.h:40, from SocketHandler.cpp:41: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from SocketHandler.h:40, from SocketHandler.cpp:41: Socket.h:180:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetClientRemoteAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from SocketHandler.h:40, from SocketHandler.cpp:41: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from SocketHandler.h:40, from SocketHandler.cpp:41: Socket.h:303:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetRemoteSocketAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from SocketHandler.h:40, from SocketHandler.cpp:41: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from SocketHandler.h:40, from SocketHandler.cpp:41: Socket.h:668:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_client_remote_address; ///< Address of last connect() ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from SocketHandler.h:40, from SocketHandler.cpp:41: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from SocketHandler.h:40, from SocketHandler.cpp:41: Socket.h:669:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_remote_address; ///< Remote end address ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from SocketHandler.h:40, from SocketHandler.cpp:41: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from SocketHandler.h:40, from SocketHandler.cpp:41: Socket.h: In constructor 'Socket::Socket()': Socket.h:645:2: warning: 'Socket::m_handler' is initialized with itself [-Winit-self] Socket() : m_handler(m_handler) {} ^~~~~~ In file included from SocketHandler.cpp:47: Utility.h: At global scope: Utility.h:204:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr CreateAddress(struct sockaddr *,socklen_t); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from SocketHandler.h:40, from SocketHandler.cpp:41: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ SocketHandler.cpp: In constructor 'SocketHandler::SocketHandler(StdLog*)': SocketHandler.cpp:64:1: warning: 'SocketHandler::m_mutex' is initialized with itself [-Winit-self] SocketHandler::SocketHandler(StdLog *p) ^~~~~~~~~~~~~ SocketHandler.cpp:64:1: warning: 'SocketHandler::m_parent' is initialized with itself [-Winit-self] SocketHandler.cpp: In constructor 'SocketHandler::SocketHandler(IMutex&, StdLog*)': SocketHandler.cpp:100:1: warning: 'SocketHandler::m_parent' is initialized with itself [-Winit-self] SocketHandler::SocketHandler(IMutex& mutex,StdLog *p) ^~~~~~~~~~~~~ SocketHandler.cpp: In member function 'void SocketHandler::CheckRetry()': SocketHandler.cpp:1098:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ad = p -> GetClientRemoteAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from SocketHandler.h:40, from SocketHandler.cpp:41: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ SocketHandler.cpp: In member function 'void SocketHandler::CheckClose()': SocketHandler.cpp:1173:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ad = p -> GetClientRemoteAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from SocketHandler.h:40, from SocketHandler.cpp:41: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Socket.h:45, from ISocketHandler.h:40, from SocketHandler.h:40, from SocketHandlerEp.h:35, from SocketHandlerEp.cpp:32: SocketAddress.h:95:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr GetCopy() = 0; ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from SocketHandler.h:40, from SocketHandlerEp.h:35, from SocketHandlerEp.cpp:32: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from SocketHandler.h:40, from SocketHandlerEp.h:35, from SocketHandlerEp.cpp:32: Socket.h:180:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetClientRemoteAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from SocketHandler.h:40, from SocketHandlerEp.h:35, from SocketHandlerEp.cpp:32: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from SocketHandler.h:40, from SocketHandlerEp.h:35, from SocketHandlerEp.cpp:32: Socket.h:303:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetRemoteSocketAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from SocketHandler.h:40, from SocketHandlerEp.h:35, from SocketHandlerEp.cpp:32: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from SocketHandler.h:40, from SocketHandlerEp.h:35, from SocketHandlerEp.cpp:32: Socket.h:668:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_client_remote_address; ///< Address of last connect() ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from SocketHandler.h:40, from SocketHandlerEp.h:35, from SocketHandlerEp.cpp:32: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from SocketHandler.h:40, from SocketHandlerEp.h:35, from SocketHandlerEp.cpp:32: Socket.h:669:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_remote_address; ///< Remote end address ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from SocketHandler.h:40, from SocketHandlerEp.h:35, from SocketHandlerEp.cpp:32: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from SocketHandler.h:40, from SocketHandlerEp.h:35, from SocketHandlerEp.cpp:32: Socket.h: In constructor 'Socket::Socket()': Socket.h:645:2: warning: 'Socket::m_handler' is initialized with itself [-Winit-self] Socket() : m_handler(m_handler) {} ^~~~~~ In file included from SocketHandlerEp.cpp:35: Utility.h: At global scope: Utility.h:204:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr CreateAddress(struct sockaddr *,socklen_t); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from SocketHandler.h:40, from SocketHandlerEp.h:35, from SocketHandlerEp.cpp:32: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ [g++] Compiling SocketStream.cpp [g++] Compiling SocketThread.cpp [g++] Compiling StdoutLog.cpp In file included from Socket.h:45, from ISocketHandler.h:40, from SocketHandlerThread.cpp:33: SocketAddress.h:95:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr GetCopy() = 0; ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from SocketHandlerThread.cpp:33: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from SocketHandlerThread.cpp:33: Socket.h:180:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetClientRemoteAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from SocketHandlerThread.cpp:33: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from SocketHandlerThread.cpp:33: Socket.h:303:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetRemoteSocketAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from SocketHandlerThread.cpp:33: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from SocketHandlerThread.cpp:33: Socket.h:668:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_client_remote_address; ///< Address of last connect() ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from SocketHandlerThread.cpp:33: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from SocketHandlerThread.cpp:33: Socket.h:669:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_remote_address; ///< Remote end address ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from SocketHandlerThread.cpp:33: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from SocketHandlerThread.cpp:33: Socket.h: In constructor 'Socket::Socket()': Socket.h:645:2: warning: 'Socket::m_handler' is initialized with itself [-Winit-self] Socket() : m_handler(m_handler) {} ^~~~~~ [g++] Compiling StreamSocket.cpp In file included from Socket.h:45, from ISocketHandler.h:40, from SocketStream.cpp:34: SocketAddress.h:95:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr GetCopy() = 0; ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from SocketStream.cpp:34: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from SocketStream.cpp:34: Socket.h:180:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetClientRemoteAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from SocketStream.cpp:34: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from SocketStream.cpp:34: Socket.h:303:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetRemoteSocketAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from SocketStream.cpp:34: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from SocketStream.cpp:34: Socket.h:668:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_client_remote_address; ///< Address of last connect() ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from SocketStream.cpp:34: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from SocketStream.cpp:34: Socket.h:669:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_remote_address; ///< Remote end address ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from SocketStream.cpp:34: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from SocketStream.cpp:34: Socket.h: In constructor 'Socket::Socket()': Socket.h:645:2: warning: 'Socket::m_handler' is initialized with itself [-Winit-self] Socket() : m_handler(m_handler) {} ^~~~~~ [g++] Compiling StreamWriter.cpp [g++] Compiling TcpSocket.cpp In file included from Socket.h:45, from ISocketHandler.h:40, from StdoutLog.cpp:35: SocketAddress.h:95:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr GetCopy() = 0; ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from StdoutLog.cpp:35: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from StdoutLog.cpp:35: Socket.h:180:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetClientRemoteAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from StdoutLog.cpp:35: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from StdoutLog.cpp:35: Socket.h:303:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetRemoteSocketAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from StdoutLog.cpp:35: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Socket.h:45, from ISocketHandler.h:40, from SocketHandler.h:40, from SocketThread.h:38, from SocketThread.cpp:31: SocketAddress.h:95:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr GetCopy() = 0; ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from SocketHandler.h:40, from SocketThread.h:38, from SocketThread.cpp:31: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from SocketHandler.h:40, from SocketThread.h:38, from SocketThread.cpp:31: Socket.h:180:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetClientRemoteAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from SocketHandler.h:40, from SocketThread.h:38, from SocketThread.cpp:31: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from SocketHandler.h:40, from SocketThread.h:38, from SocketThread.cpp:31: Socket.h:303:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetRemoteSocketAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from SocketHandler.h:40, from SocketThread.h:38, from SocketThread.cpp:31: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from SocketHandler.h:40, from SocketThread.h:38, from SocketThread.cpp:31: Socket.h:668:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_client_remote_address; ///< Address of last connect() ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from SocketHandler.h:40, from SocketThread.h:38, from SocketThread.cpp:31: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from SocketHandler.h:40, from SocketThread.h:38, from SocketThread.cpp:31: Socket.h:669:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_remote_address; ///< Remote end address ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from SocketHandler.h:40, from SocketThread.h:38, from SocketThread.cpp:31: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from StdoutLog.cpp:35: Socket.h:668:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_client_remote_address; ///< Address of last connect() ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from StdoutLog.cpp:35: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from SocketHandler.h:40, from SocketThread.h:38, from SocketThread.cpp:31: Socket.h: In constructor 'Socket::Socket()': Socket.h:645:2: warning: 'Socket::m_handler' is initialized with itself [-Winit-self] Socket() : m_handler(m_handler) {} ^~~~~~ In file included from ISocketHandler.h:40, from StdoutLog.cpp:35: Socket.h:669:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_remote_address; ///< Remote end address ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from StdoutLog.cpp:35: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from StdoutLog.cpp:35: Socket.h: In constructor 'Socket::Socket()': Socket.h:645:2: warning: 'Socket::m_handler' is initialized with itself [-Winit-self] Socket() : m_handler(m_handler) {} ^~~~~~ In file included from SocketThread.cpp:34: Utility.h: At global scope: Utility.h:204:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr CreateAddress(struct sockaddr *,socklen_t); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from SocketHandler.h:40, from SocketThread.h:38, from SocketThread.cpp:31: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ [g++] Compiling Thread.cpp [g++] Compiling UdpSocket.cpp [g++] Compiling Utility.cpp In file included from Socket.h:45, from StreamSocket.h:36, from StreamSocket.cpp:33: SocketAddress.h:95:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr GetCopy() = 0; ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from StreamSocket.cpp:33: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from StreamSocket.cpp:33: Socket.h:180:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetClientRemoteAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from StreamSocket.cpp:33: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from StreamSocket.cpp:33: Socket.h:303:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetRemoteSocketAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from StreamSocket.cpp:33: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from StreamSocket.cpp:33: Socket.h:668:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_client_remote_address; ///< Address of last connect() ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from StreamSocket.cpp:33: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from StreamSocket.cpp:33: Socket.h:669:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_remote_address; ///< Remote end address ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from StreamSocket.h:36, from StreamSocket.cpp:33: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamSocket.h:36, from StreamSocket.cpp:33: Socket.h: In constructor 'Socket::Socket()': Socket.h:645:2: warning: 'Socket::m_handler' is initialized with itself [-Winit-self] Socket() : m_handler(m_handler) {} ^~~~~~ In file included from StreamWriter.cpp:35: Utility.h:204:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr CreateAddress(struct sockaddr *,socklen_t); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from Utility.h:37, from StreamWriter.cpp:35: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ [g++] Compiling XmlDocument.cpp [g++] Compiling XmlNode.cpp In file included from Socket.h:45, from ISocketHandler.h:40, from TcpSocket.cpp:40: SocketAddress.h:95:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr GetCopy() = 0; ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from TcpSocket.cpp:40: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from TcpSocket.cpp:40: Socket.h:180:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetClientRemoteAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from TcpSocket.cpp:40: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from TcpSocket.cpp:40: Socket.h:303:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetRemoteSocketAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from TcpSocket.cpp:40: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from TcpSocket.cpp:40: Socket.h:668:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_client_remote_address; ///< Address of last connect() ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from TcpSocket.cpp:40: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from TcpSocket.cpp:40: Socket.h:669:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_remote_address; ///< Remote end address ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from TcpSocket.cpp:40: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from TcpSocket.cpp:40: Socket.h: In constructor 'Socket::Socket()': Socket.h:645:2: warning: 'Socket::m_handler' is initialized with itself [-Winit-self] Socket() : m_handler(m_handler) {} ^~~~~~ In file included from XmlDocument.cpp:33: XmlDocument.h:41:10: fatal error: libxml/xmlmemory.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [Makefile.Defines.linux-x86-32:34: XmlDocument.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from TcpSocket.cpp:55: Utility.h: At global scope: Utility.h:204:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr CreateAddress(struct sockaddr *,socklen_t); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from TcpSocket.cpp:40: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from TcpSocket.cpp:56: Ipv4Address.h:81:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetCopy(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from TcpSocket.cpp:40: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from XmlNode.cpp:33: XmlNode.h:41:10: fatal error: libxml/xmlmemory.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [Makefile.Defines.linux-x86-32:34: XmlNode.o] Error 1 TcpSocket.cpp: In member function 'void TcpSocket::InitializeContext(const string&, const SSL_METHOD*)': TcpSocket.cpp:1286:48: error: 'SSLv3_method' was not declared in this scope const SSL_METHOD *meth = meth_in ? meth_in : SSLv3_method(); ^~~~~~~~~~~~ TcpSocket.cpp:1286:48: note: suggested alternative: 'SSLv23_method' const SSL_METHOD *meth = meth_in ? meth_in : SSLv3_method(); ^~~~~~~~~~~~ SSLv23_method TcpSocket.cpp: In member function 'void TcpSocket::InitializeContext(const string&, const string&, const string&, const string&, const SSL_METHOD*)': TcpSocket.cpp:1342:48: error: 'SSLv3_method' was not declared in this scope const SSL_METHOD *meth = meth_in ? meth_in : SSLv3_method(); ^~~~~~~~~~~~ TcpSocket.cpp:1342:48: note: suggested alternative: 'SSLv23_method' const SSL_METHOD *meth = meth_in ? meth_in : SSLv3_method(); ^~~~~~~~~~~~ SSLv23_method make: *** [Makefile.Defines.linux-x86-32:34: TcpSocket.o] Error 1 In file included from Thread.cpp:41: Utility.h:204:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr CreateAddress(struct sockaddr *,socklen_t); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from Utility.h:37, from Thread.cpp:41: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Utility.cpp:32: Utility.h:204:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr CreateAddress(struct sockaddr *,socklen_t); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from Utility.h:37, from Utility.cpp:32: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Ipv4Address.h:37, from Utility.cpp:34: SocketAddress.h:95:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr GetCopy() = 0; ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from Utility.h:37, from Utility.cpp:32: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Utility.cpp:34: Ipv4Address.h:81:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetCopy(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from Utility.h:37, from Utility.cpp:32: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ Utility.cpp:677:6: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr Utility::CreateAddress(struct sockaddr *sa,socklen_t sa_len) ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from Utility.h:37, from Utility.cpp:32: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ Utility.cpp: In static member function 'static std::auto_ptr Utility::CreateAddress(sockaddr*, socklen_t)': Utility.cpp:685:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] return std::auto_ptr(new Ipv4Address(*p)); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from Utility.h:37, from Utility.cpp:32: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ Utility.cpp:700:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] return std::auto_ptr(NULL); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from Utility.h:37, from Utility.cpp:32: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Socket.h:45, from ISocketHandler.h:40, from UdpSocket.cpp:41: SocketAddress.h:95:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr GetCopy() = 0; ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from UdpSocket.cpp:41: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from UdpSocket.cpp:41: Socket.h:180:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetClientRemoteAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from UdpSocket.cpp:41: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from UdpSocket.cpp:41: Socket.h:303:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetRemoteSocketAddress(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from UdpSocket.cpp:41: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from UdpSocket.cpp:41: Socket.h:668:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_client_remote_address; ///< Address of last connect() ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from UdpSocket.cpp:41: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from UdpSocket.cpp:41: Socket.h:669:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr m_remote_address; ///< Remote end address ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from UdpSocket.cpp:41: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ISocketHandler.h:40, from UdpSocket.cpp:41: Socket.h: In constructor 'Socket::Socket()': Socket.h:645:2: warning: 'Socket::m_handler' is initialized with itself [-Winit-self] Socket() : m_handler(m_handler) {} ^~~~~~ In file included from UdpSocket.cpp:43: Utility.h: At global scope: Utility.h:204:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr CreateAddress(struct sockaddr *,socklen_t); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from UdpSocket.cpp:41: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from UdpSocket.cpp:44: Ipv4Address.h:81:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr GetCopy(); ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from SocketAddress.h:38, from Socket.h:45, from ISocketHandler.h:40, from UdpSocket.cpp:41: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ Build dependencies to remove: 10 Removing: e2fsprogs e2fsprogs-dev e2fsprogs-fsck libcomerr libcomerr-dev openssl-dev util-linux-blkid util-linux-mount util-linux-smartcols util-linux-uuid Debug information ret1. ================================================================================ Cook date: 2020-09-13 04:29 Wasted time : 33s 3138:XmlDocument.h:41:10: fatal error: libxml/xmlmemory.h: No such file or directory 3170:XmlNode.h:41:10: fatal error: libxml/xmlmemory.h: No such file or directory 3176:TcpSocket.cpp:1286:48: error: 'SSLv3_method' was not declared in this scope 3184:TcpSocket.cpp:1342:48: error: 'SSLv3_method' was not declared in this scope ================================================================================ Post-check ================================================================================ Checking build... Failed Updating activity log... Done ================================================================================