Cook: linuxdcpp 1.0.3 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): libpcre-8.42-i486 Installing (pkg/local): util-linux-smartcols-2.33-i486 Installing (pkg/local): util-linux-uuid-2.33-i486 Installing (pkg/local): util-linux-blkid-2.33-i486 Installing (pkg/local): util-linux-mount-2.33-i486 Installing (pkg/local): glib-2.58.2-i486 Installing (pkg/local): atk-2.30.0-i486 Installing (pkg/local): libbzip2-1.0.6-i486 Installing (pkg/local): libharfbuzz-1.8.4-i486 Installing (pkg/local): libpng-1.6.36-i486 Installing (pkg/local): freetype-2.9.1-i486 Installing (pkg/local): libxml2-2.9.8-i486 Installing (pkg/local): fontconfig-2.13.1-i486 Installing (pkg/local): libxau-1.0.8-i486 Installing (pkg/local): libxdmcp-1.1.2-i486 Installing (pkg/local): libxcb-1.13.1-i486 Installing (pkg/local): libx11-1.6.7-i486 Installing (pkg/local): pixman-0.36.0-i486 Installing (pkg/local): libcairo-1.16.0-i486 Installing (pkg/local): libjpeg-turbo-2.0.1-i486 Installing (pkg/local): libtiff-4.0.10-i486 Installing (pkg/local): gdk-pixbuf-2.38.0-i486 Installing (pkg/local): libunistring-0.9.10-i486 Installing (pkg/local): libidn2-2.0.5-i486 Installing (pkg/local): libp11-kit-0.23.12-i486 Installing (pkg/local): libtasn1-4.13-i486 Installing (pkg/local): nettle-3.4-i486 Installing (pkg/local): unbound-1.7.3-i486 Installing (pkg/local): libgnutls-3.5.19-i486 Installing (pkg/local): libcups-2.2.2-i486 Installing (pkg/local): fribidi-1.0.5-i486 Installing (pkg/local): libxrender-0.9.10-i486 Installing (pkg/local): libxft-2.3.2-i486 Installing (pkg/local): pango-1.42.4-i486 Installing (pkg/local): libxext-1.3.3-i486 Installing (pkg/local): libxinerama-1.1.4-i486 Installing (pkg/local): gtk2-2.24.31-i486 Installing (pkg/local): libpcre16-8.42-i486 Installing (pkg/local): libpcre32-8.42-i486 Installing (pkg/local): libpcrecpp-8.42-i486 Installing (pkg/local): libpcreposix-8.42-i486 Installing (pkg/local): pcre-8.42-any Installing (pkg/local): pcre-apps-8.42-i486 Installing (pkg/local): pcre-dev-8.42-any Installing (pkg/local): util-linux-uuid-dev-2.33-any Installing (pkg/local): util-linux-blkid-dev-2.33-any Installing (pkg/local): util-linux-mount-dev-2.33-any Installing (pkg/local): zlib-static-1.2.11-i486 Installing (pkg/local): zlib-dev-1.2.11-any Installing (pkg/local): perl-core-5.28.1-i486 Installing (pkg/local): perl-5.28.1-i486 Installing (pkg/local): glib-dev-2.58.2-i486 Installing (pkg/local): atk-dev-2.30.0-i486 Installing (pkg/local): cairo-1.16.0-i486 Installing (pkg/local): bzip2-dev-1.0.6-i486 Installing (pkg/local): harfbuzz-1.8.4-i486 Installing (pkg/local): harfbuzz-dev-1.8.4-i486 Installing (pkg/local): libpng-dev-1.6.36-i486 Installing (pkg/local): freetype-dev-2.9.1-i486 Installing (pkg/local): xz-tools-5.2.4-i486 Installing (pkg/local): xz-dev-5.2.4-any Installing (pkg/local): libxml2-tools-2.9.8-i486 Installing (pkg/local): libxml2-dev-2.9.8-any Installing (pkg/local): fontconfig-dev-2.13.1-any Installing (pkg/local): xorgproto-2018.4-any Installing (pkg/local): libxau-dev-1.0.8-any Installing (pkg/local): libxdmcp-dev-1.1.2-any Installing (pkg/local): libxcb-dev-1.13.1-any Installing (pkg/local): libx11-dev-1.6.7-any Installing (pkg/local): libxext-dev-1.3.3-any Installing (pkg/local): libxrender-dev-0.9.10-any Installing (pkg/local): pixman-dev-0.36.0-any Installing (pkg/local): cairo-dev-1.16.0-any Installing (pkg/local): shared-mime-info-1.10-i486 Installing (pkg/local): shared-mime-info-dev-1.10-any Installing (pkg/local): gdk-pixbuf-dev-2.38.0-i486 Installing (pkg/local): pango-typelib-1.42.4-i486 Installing (pkg/local): fribidi-dev-1.0.5-any Installing (pkg/local): libxft-dev-2.3.2-any Installing (pkg/local): pango-dev-1.42.4-any Installing (pkg/local): gtk2-dev-2.24.31-i486 Installing (pkg/local): libglade-2.6.4-i486 Installing (pkg/local): libglade-dev-2.6.4-any Installing (pkg/local): openssl-dev-1.1.1a-i486 Installing (pkg/local): scons2-2.5.1-any Extracting source archive "linuxdcpp-1.0.3.tar.bz2" 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 scons: Reading SConscript files ... scons: warning: The Options class is deprecated; use the Variables class instead. File "/home/slitaz/wok/linuxdcpp/source/linuxdcpp-1.0.3/SConstruct", line 50, in scons: warning: The BoolOption() function is deprecated; use the BoolVariable() function instead. File "/home/slitaz/wok/linuxdcpp/source/linuxdcpp-1.0.3/SConstruct", line 53, in scons: warning: The PathOption() function is deprecated; use the PathVariable() function instead. File "/home/slitaz/wok/linuxdcpp/source/linuxdcpp-1.0.3/SConstruct", line 56, in Checking for g++ >= 3.4...(cached) yes Checking for pkg-config... yes Checking for gtk+-2.0 >= 2.10... yes Checking for gthread-2.0 >= 2.4... yes Checking for libglade-2.0 >= 2.4... yes Checking for C header file time.h... yes Checking for C header file signal.h... yes Checking for C header file unistd.h... yes Checking for C library pthread... yes Checking for C library z... yes Checking for C library bz2... yes Checking for C library crypto... yes Checking for C library ssl... yes Checking for C header file iconv.h... yes Checking for iconv(0, (const char **)0, 0, (char**)0, 0) in C library iconv... no Checking for C header file net/if.h... yes scons: warning: The build_dir keyword has been deprecated; use the variant_dir keyword instead. File "/home/slitaz/wok/linuxdcpp/source/linuxdcpp-1.0.3/SConstruct", line 217, in scons: warning: The build_dir keyword has been deprecated; use the variant_dir keyword instead. File "/home/slitaz/wok/linuxdcpp/source/linuxdcpp-1.0.3/SConstruct", line 218, in scons: done reading SConscript files. scons: Building targets ... g++ -o build/client/AdcCommand.o -c -march=i486 -Os -pipe -mindirect-branch=thunk -I. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DHAVE_IFADDRS_H -D_DATADIR='"/usr/share"' -pthread -march=i486 -Os -pipe -mindirect-branch=thunk client/AdcCommand.cpp In file included from /usr/include/c++/8.2.0/ext/hash_map:60, from client/stdinc.h:110, from client/AdcCommand.cpp:19: /usr/include/c++/8.2.0/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from client/CriticalSection.h:26, from client/Speaker.h:26, from client/SettingsManager.h:27, from client/AdcCommand.h:26, from client/AdcCommand.cpp:22: client/Thread.h:85:15: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void start() throw(ThreadException); ^~~~~ In file included from client/AdcCommand.cpp:22: client/AdcCommand.h:114:62: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] explicit AdcCommand(const string& aLine, bool nmdc = false) throw(ParseException); ^~~~~ client/AdcCommand.h:115:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void parse(const string& aLine, bool nmdc = false) throw(ParseException); ^~~~~ In file included from client/BufferedSocket.h:31, from client/Client.h:27, from client/ClientManager.h:28, from client/AdcCommand.cpp:23: client/Socket.h:83:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] Socket() throw(SocketException) : sock(INVALID_SOCKET), connected(false), blocking(true) { } ^~~~~ client/Socket.h:84:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] Socket(const string& aIp, uint16_t aPort) throw(SocketException) : sock(INVALID_SOCKET), connected(false), blocking(true) { connect(aIp, aPort); } ^~~~~ In file included from client/BufferedSocket.h:31, from client/Client.h:27, from client/ClientManager.h:28, from client/AdcCommand.cpp:23: client/Socket.h:94:58: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void connect(const string& aIp, uint16_t aPort) throw(SocketException); ^~~~~ client/Socket.h:95:55: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void connect(const string& aIp, const string& aPort) throw(SocketException) { connect(aIp, static_cast(Util::toInt(aPort))); } ^~~~~ client/Socket.h:99:77: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void socksConnect(const string& aIp, uint16_t aPort, uint32_t timeout = 0) throw(SocketException); ^~~~~ client/Socket.h:107:69: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void writeAll(const void* aBuffer, int aLen, uint32_t timeout = 0) throw(SocketException); ^~~~~ client/Socket.h:108:51: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int write(const void* aBuffer, int aLen) throw(SocketException); ^~~~~ client/Socket.h:109:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] int write(const string& aData) throw(SocketException) { return write(aData.data(), (int)aData.length()); } ^~~~~ client/Socket.h:110:108: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void writeTo(const string& aIp, uint16_t aPort, const void* aBuffer, int aLen, bool proxy = true) throw(SocketException); ^~~~~ client/Socket.h:111:71: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void writeTo(const string& aIp, uint16_t aPort, const string& aData) throw(SocketException) { writeTo(aIp, aPort, aData.data(), (int)aData.length()); } ^~~~~ client/Socket.h:123:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int read(void* aBuffer, int aBufLen) throw(SocketException); ^~~~~ client/Socket.h:132:60: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int read(void* aBuffer, int aBufLen, string &aIP) throw(SocketException); ^~~~~ client/Socket.h:139:64: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] int readAll(void* aBuffer, int aBufLen, uint32_t timeout = 0) throw(SocketException); ^~~~~ client/Socket.h:141:49: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int wait(uint32_t millis, int waitFor) throw(SocketException); ^~~~~ client/Socket.h:170:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void create(int aType = TYPE_TCP) throw(SocketException); ^~~~~ client/Socket.h:173:75: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual uint16_t bind(uint16_t aPort = 0, const string& aIp = "0.0.0.0") throw(SocketException); ^~~~~ client/Socket.h:174:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void listen() throw(SocketException); ^~~~~ client/Socket.h:175:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void accept(const Socket& listeningSocket) throw(SocketException); ^~~~~ client/Socket.h:177:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] int getSocketOptInt(int option) throw(SocketException); ^~~~~ client/Socket.h:178:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void setSocketOpt(int option, int value) throw(SocketException); ^~~~~ client/Socket.h:208:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void socksAuth(uint32_t timeout) throw(SocketException); ^~~~~ In file included from client/Client.h:27, from client/ClientManager.h:28, from client/AdcCommand.cpp:23: client/BufferedSocket.h:89:67: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void accept(const Socket& srv, bool secure, bool allowUntrusted) throw(SocketException, ThreadException); ^~~~~ client/BufferedSocket.h:90:101: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void connect(const string& aAddress, uint16_t aPort, bool secure, bool allowUntrusted, bool proxy) throw(SocketException, ThreadException); ^~~~~ In file included from client/Client.h:27, from client/ClientManager.h:28, from client/AdcCommand.cpp:23: client/BufferedSocket.h:170:70: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void threadConnect(const string& aAddr, uint16_t aPort, bool proxy) throw(SocketException); ^~~~~ client/BufferedSocket.h:171:20: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void threadRead() throw(SocketException); ^~~~~ client/BufferedSocket.h:172:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void threadSendFile(InputStream* is) throw(Exception); ^~~~~ client/AdcCommand.cpp:31:70: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] AdcCommand::AdcCommand(const string& aLine, bool nmdc /* = false */) throw(ParseException) : cmdInt(0), type(TYPE_CLIENT) { ^~~~~ client/AdcCommand.cpp:35:70: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void AdcCommand::parse(const string& aLine, bool nmdc /* = false */) throw(ParseException) { ^~~~~ g++ -o build/client/AdcHub.o -c -march=i486 -Os -pipe -mindirect-branch=thunk -I. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DHAVE_IFADDRS_H -D_DATADIR='"/usr/share"' -pthread -march=i486 -Os -pipe -mindirect-branch=thunk client/AdcHub.cpp In file included from /usr/include/c++/8.2.0/ext/hash_map:60, from client/stdinc.h:110, from client/AdcHub.cpp:19: /usr/include/c++/8.2.0/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from client/Pointer.h:26, from client/User.h:27, from client/Client.h:26, from client/AdcHub.h:26, from client/AdcHub.cpp:22: client/Thread.h:85:15: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void start() throw(ThreadException); ^~~~~ In file included from client/BufferedSocket.h:31, from client/Client.h:27, from client/AdcHub.h:26, from client/AdcHub.cpp:22: client/Socket.h:83:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] Socket() throw(SocketException) : sock(INVALID_SOCKET), connected(false), blocking(true) { } ^~~~~ client/Socket.h:84:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] Socket(const string& aIp, uint16_t aPort) throw(SocketException) : sock(INVALID_SOCKET), connected(false), blocking(true) { connect(aIp, aPort); } ^~~~~ In file included from client/BufferedSocket.h:31, from client/Client.h:27, from client/AdcHub.h:26, from client/AdcHub.cpp:22: client/Socket.h:94:58: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void connect(const string& aIp, uint16_t aPort) throw(SocketException); ^~~~~ client/Socket.h:95:55: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void connect(const string& aIp, const string& aPort) throw(SocketException) { connect(aIp, static_cast(Util::toInt(aPort))); } ^~~~~ client/Socket.h:99:77: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void socksConnect(const string& aIp, uint16_t aPort, uint32_t timeout = 0) throw(SocketException); ^~~~~ client/Socket.h:107:69: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void writeAll(const void* aBuffer, int aLen, uint32_t timeout = 0) throw(SocketException); ^~~~~ client/Socket.h:108:51: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int write(const void* aBuffer, int aLen) throw(SocketException); ^~~~~ client/Socket.h:109:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] int write(const string& aData) throw(SocketException) { return write(aData.data(), (int)aData.length()); } ^~~~~ client/Socket.h:110:108: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void writeTo(const string& aIp, uint16_t aPort, const void* aBuffer, int aLen, bool proxy = true) throw(SocketException); ^~~~~ client/Socket.h:111:71: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void writeTo(const string& aIp, uint16_t aPort, const string& aData) throw(SocketException) { writeTo(aIp, aPort, aData.data(), (int)aData.length()); } ^~~~~ client/Socket.h:123:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int read(void* aBuffer, int aBufLen) throw(SocketException); ^~~~~ client/Socket.h:132:60: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int read(void* aBuffer, int aBufLen, string &aIP) throw(SocketException); ^~~~~ client/Socket.h:139:64: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] int readAll(void* aBuffer, int aBufLen, uint32_t timeout = 0) throw(SocketException); ^~~~~ client/Socket.h:141:49: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int wait(uint32_t millis, int waitFor) throw(SocketException); ^~~~~ client/Socket.h:170:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void create(int aType = TYPE_TCP) throw(SocketException); ^~~~~ client/Socket.h:173:75: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual uint16_t bind(uint16_t aPort = 0, const string& aIp = "0.0.0.0") throw(SocketException); ^~~~~ client/Socket.h:174:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void listen() throw(SocketException); ^~~~~ client/Socket.h:175:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void accept(const Socket& listeningSocket) throw(SocketException); ^~~~~ client/Socket.h:177:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] int getSocketOptInt(int option) throw(SocketException); ^~~~~ client/Socket.h:178:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void setSocketOpt(int option, int value) throw(SocketException); ^~~~~ client/Socket.h:208:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void socksAuth(uint32_t timeout) throw(SocketException); ^~~~~ In file included from client/Client.h:27, from client/AdcHub.h:26, from client/AdcHub.cpp:22: client/BufferedSocket.h:89:67: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void accept(const Socket& srv, bool secure, bool allowUntrusted) throw(SocketException, ThreadException); ^~~~~ client/BufferedSocket.h:90:101: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void connect(const string& aAddress, uint16_t aPort, bool secure, bool allowUntrusted, bool proxy) throw(SocketException, ThreadException); ^~~~~ In file included from client/Client.h:27, from client/AdcHub.h:26, from client/AdcHub.cpp:22: client/BufferedSocket.h:170:70: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void threadConnect(const string& aAddr, uint16_t aPort, bool proxy) throw(SocketException); ^~~~~ client/BufferedSocket.h:171:20: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void threadRead() throw(SocketException); ^~~~~ client/BufferedSocket.h:172:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void threadSendFile(InputStream* is) throw(Exception); ^~~~~ In file included from client/AdcHub.h:27, from client/AdcHub.cpp:22: client/AdcCommand.h:114:62: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] explicit AdcCommand(const string& aLine, bool nmdc = false) throw(ParseException); ^~~~~ client/AdcCommand.h:115:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void parse(const string& aLine, bool nmdc = false) throw(ParseException); ^~~~~ In file included from client/ShareManager.h:27, from client/AdcHub.cpp:24: client/SearchManager.h:150:16: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void listen() throw(SocketException); ^~~~~ In file included from client/HashManager.h:35, from client/ShareManager.h:29, from client/AdcHub.cpp:24: client/Streams.h:44:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t write(const void* buf, size_t len) throw(Exception) = 0; ^~~~~ client/Streams.h:51:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t flush() throw(Exception) = 0; ^~~~~ client/Streams.h:53:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] size_t write(const string& str) throw(Exception) { return write(str.c_str(), str.size()); } ^~~~~ client/Streams.h:68:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t read(void* buf, size_t& len) throw(Exception) = 0; ^~~~~ client/Streams.h:87:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t read(void* tgt, size_t& len) throw(Exception) { ^~~~~ client/Streams.h:112:38: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] size_t read(void* buf, size_t& len) throw(FileException) { ^~~~~ In file included from client/HashManager.h:35, from client/ShareManager.h:29, from client/AdcHub.cpp:24: client/Streams.h:143:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t flush() throw(Exception) { ^~~~~ client/Streams.h:151:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t write(const void* wbuf, size_t len) throw(Exception) { ^~~~~ client/Streams.h:185:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t flush() throw(Exception) { return 0; } ^~~~~ client/Streams.h:186:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t write(const void* buf, size_t len) throw(Exception) { ^~~~~ In file included from client/ShareManager.h:29, from client/AdcHub.cpp:24: client/HashManager.h:79:58: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] TTHValue getTTH(const string& aFileName, int64_t aSize) throw(HashException); ^~~~~ In file included from client/ShareManager.h:29, from client/AdcHub.cpp:24: client/HashManager.h:202:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] int64_t saveTree(File& dataFile, const TigerTree& tt) throw(FileException); ^~~~~ In file included from client/UserConnection.h:30, from client/DownloadManager.h:28, from client/ShareManager.h:30, from client/AdcHub.cpp:24: client/File.h:77:54: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] File(const string& aFileName, int access, int mode) throw(FileException); ^~~~~ client/File.h:82:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void setSize(int64_t newSize) throw(FileException); ^~~~~ client/File.h:88:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void setEOF() throw(FileException); ^~~~~ client/File.h:90:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t read(void* buf, size_t& len) throw(FileException); ^~~~~ client/File.h:91:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t write(const void* buf, size_t len) throw(FileException); ^~~~~ client/File.h:92:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t flush() throw(FileException); ^~~~~ client/File.h:96:64: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void copyFile(const string& src, const string& target) throw(FileException); ^~~~~ client/File.h:97:69: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void renameFile(const string& source, const string& target) throw(FileException); ^~~~~ client/File.h:107:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] string read(size_t len) throw(FileException); ^~~~~ client/File.h:108:16: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] string read() throw(FileException); ^~~~~ client/File.h:109:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write(const string& aString) throw(FileException) { write((void*)aString.data(), aString.size()); } ^~~~~ In file included from client/DownloadManager.h:28, from client/ShareManager.h:30, from client/AdcHub.cpp:24: client/UserConnection.h:282:54: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void connect(const string& aServer, uint16_t aPort) throw(SocketException, ThreadException); ^~~~~ client/UserConnection.h:283:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void accept(const Socket& aServer) throw(SocketException, ThreadException); ^~~~~ In file included from client/DownloadManager.h:30, from client/ShareManager.h:30, from client/AdcHub.cpp:24: client/FilteredFile.h:36:17: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] size_t flush() throw(Exception) { ^~~~~ client/FilteredFile.h:41:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] size_t write(const void* buf, size_t len) throw(Exception) { ^~~~~ client/FilteredFile.h:61:17: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] size_t flush() throw(Exception) { ^~~~~ client/FilteredFile.h:65:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] size_t write(const void* buf, size_t len) throw(Exception) { ^~~~~ client/FilteredFile.h:83:38: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] size_t read(void* buf, size_t& len) throw(Exception) { ^~~~~ client/FilteredFile.h:103:17: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] size_t flush() throw(Exception) { ^~~~~ client/FilteredFile.h:123:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] size_t write(const void* wbuf, size_t len) throw(Exception) { ^~~~~ client/FilteredFile.h:172:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] size_t read(void* rbuf, size_t& len) throw(Exception) { ^~~~~ In file included from client/ShareManager.h:30, from client/AdcHub.cpp:24: client/DownloadManager.h:202:73: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool checkRollback(Download* aDownload, const uint8_t* aBuf, int aLen) throw(FileException); ^~~~~ client/DownloadManager.h:210:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] uint32_t calcCrc32(const string& file) throw(FileException); ^~~~~ In file included from client/AdcHub.cpp:24: client/ShareManager.h:59:68: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void addDirectory(const string& aDirectory, const string & aName) throw(ShareException); ^~~~~ client/ShareManager.h:61:65: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void renameDirectory(const string& oName, const string& nName) throw(ShareException); ^~~~~ client/ShareManager.h:62:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] string toVirtual(const TTHValue& tth) throw(ShareException); ^~~~~ client/ShareManager.h:63:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] string toReal(const string& virtualFile) throw(ShareException); ^~~~~ client/ShareManager.h:64:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] TTHValue getTTH(const string& virtualFile) throw(ShareException); ^~~~~ client/ShareManager.h:66:75: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void refresh(bool dirs = false, bool aUpdate = true, bool block = false) throw(ThreadException, ShareException); ^~~~~ client/ShareManager.h:77:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] AdcCommand getFileInfo(const string& aFile) throw(ShareException); ^~~~~ client/ShareManager.h:248:2: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr bzXmlRef; ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from client/ShareManager.h:40, from client/AdcHub.cpp:24: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from client/AdcHub.cpp:27: client/ConnectionManager.h:116:16: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void listen() throw(SocketException); ^~~~~ In file included from client/CryptoManager.h:32, from client/AdcHub.cpp:32: client/SSLSocket.h:41:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void accept(const Socket& listeningSocket) throw(SocketException); ^~~~~ client/SSLSocket.h:42:58: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void connect(const string& aIp, uint16_t aPort) throw(SocketException); ^~~~~ client/SSLSocket.h:43:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int read(void* aBuffer, int aBufLen) throw(SocketException); ^~~~~ client/SSLSocket.h:44:51: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int write(const void* aBuffer, int aLen) throw(SocketException); ^~~~~ client/SSLSocket.h:45:49: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int wait(uint32_t millis, int waitFor) throw(SocketException); ^~~~~ client/SSLSocket.h:55:30: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] SSLSocket(SSL_CTX* context) throw(SocketException); ^~~~~ client/SSLSocket.h:62:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] int checkSSL(int ret) throw(SocketException); ^~~~~ In file included from client/AdcHub.cpp:32: client/CryptoManager.h:47:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void decodeBZ2(const uint8_t* is, size_t sz, string& os) throw(CryptoException); ^~~~~ client/CryptoManager.h:49:50: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] SSLSocket* getClientSocket(bool allowUntrusted) throw(SocketException); ^~~~~ client/CryptoManager.h:50:50: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] SSLSocket* getServerSocket(bool allowUntrusted) throw(SocketException); ^~~~~ client/CryptoManager.h:53:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void generateCertificate() throw(CryptoException); ^~~~~ g++ -o build/client/ADLSearch.o -c -march=i486 -Os -pipe -mindirect-branch=thunk -I. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DHAVE_IFADDRS_H -D_DATADIR='"/usr/share"' -pthread -march=i486 -Os -pipe -mindirect-branch=thunk client/ADLSearch.cpp In file included from /usr/include/c++/8.2.0/ext/hash_map:60, from client/stdinc.h:110, from client/ADLSearch.cpp:24: /usr/include/c++/8.2.0/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from client/CriticalSection.h:26, from client/Speaker.h:26, from client/SettingsManager.h:27, from client/ADLSearch.h:33, from client/ADLSearch.cpp:27: client/Thread.h:85:15: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void start() throw(ThreadException); ^~~~~ In file included from client/File.h:30, from client/SimpleXML.h:28, from client/DirectoryListing.h:30, from client/ADLSearch.h:237, from client/ADLSearch.cpp:27: client/Streams.h:44:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t write(const void* buf, size_t len) throw(Exception) = 0; ^~~~~ client/Streams.h:51:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t flush() throw(Exception) = 0; ^~~~~ client/Streams.h:53:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] size_t write(const string& str) throw(Exception) { return write(str.c_str(), str.size()); } ^~~~~ client/Streams.h:68:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t read(void* buf, size_t& len) throw(Exception) = 0; ^~~~~ client/Streams.h:87:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t read(void* tgt, size_t& len) throw(Exception) { ^~~~~ client/Streams.h:112:38: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] size_t read(void* buf, size_t& len) throw(FileException) { ^~~~~ In file included from client/File.h:30, from client/SimpleXML.h:28, from client/DirectoryListing.h:30, from client/ADLSearch.h:237, from client/ADLSearch.cpp:27: client/Streams.h:143:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t flush() throw(Exception) { ^~~~~ client/Streams.h:151:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t write(const void* wbuf, size_t len) throw(Exception) { ^~~~~ client/Streams.h:185:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t flush() throw(Exception) { return 0; } ^~~~~ client/Streams.h:186:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t write(const void* buf, size_t len) throw(Exception) { ^~~~~ In file included from client/SimpleXML.h:28, from client/DirectoryListing.h:30, from client/ADLSearch.h:237, from client/ADLSearch.cpp:27: client/File.h:77:54: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] File(const string& aFileName, int access, int mode) throw(FileException); ^~~~~ client/File.h:82:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void setSize(int64_t newSize) throw(FileException); ^~~~~ client/File.h:88:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void setEOF() throw(FileException); ^~~~~ client/File.h:90:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t read(void* buf, size_t& len) throw(FileException); ^~~~~ client/File.h:91:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t write(const void* buf, size_t len) throw(FileException); ^~~~~ client/File.h:92:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t flush() throw(FileException); ^~~~~ client/File.h:96:64: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void copyFile(const string& src, const string& target) throw(FileException); ^~~~~ client/File.h:97:69: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void renameFile(const string& source, const string& target) throw(FileException); ^~~~~ client/File.h:107:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] string read(size_t len) throw(FileException); ^~~~~ client/File.h:108:16: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] string read() throw(FileException); ^~~~~ client/File.h:109:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write(const string& aString) throw(FileException) { write((void*)aString.data(), aString.size()); } ^~~~~ In file included from client/DirectoryListing.h:30, from client/ADLSearch.h:237, from client/ADLSearch.cpp:27: client/SimpleXML.h:63:128: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] string::size_type fromXML(const string& tmp, const string& n = Util::emptyString, string::size_type start = 0, int depth = 0) throw(SimpleXMLException); ^~~~~ client/SimpleXML.h:71:96: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] string::size_type loadAttribs(const string& name, const string& tmp, string::size_type start) throw(SimpleXMLException); ^~~~~ client/SimpleXML.h:87:76: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void addTag(const string& aName, const string& aData = Util::emptyString) throw(SimpleXMLException); ^~~~~ client/SimpleXML.h:88:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void addTag(const string& aName, int aData) throw(SimpleXMLException) { ^~~~~ client/SimpleXML.h:91:50: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void addTag(const string& aName, int64_t aData) throw(SimpleXMLException) { ^~~~~ client/SimpleXML.h:96:54: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void addAttrib(const string& aName, const T& aData) throw(SimpleXMLException) { ^~~~~ client/SimpleXML.h:100:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void addAttrib(const string& aName, const string& aData) throw(SimpleXMLException); ^~~~~ client/SimpleXML.h:101:50: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void addAttrib(const string& aName, bool aData) throw(SimpleXMLException) { ^~~~~ client/SimpleXML.h:106:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void addChildAttrib(const string& aName, const T& aData) throw(SimpleXMLException) { ^~~~~ client/SimpleXML.h:109:64: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void addChildAttrib(const string& aName, const string& aData) throw(SimpleXMLException); ^~~~~ client/SimpleXML.h:110:55: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void addChildAttrib(const string& aName, bool aData) throw(SimpleXMLException) { ^~~~~ client/SimpleXML.h:119:16: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void stepIn() throw(SimpleXMLException) { ^~~~~ client/SimpleXML.h:126:17: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void stepOut() throw(SimpleXMLException) { ^~~~~ client/SimpleXML.h:146:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] const string& getChildData() const throw(SimpleXMLException) { ^~~~~ client/SimpleXML.h:151:96: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] const string& getChildAttrib(const string& aName, const string& aDefault = Util::emptyString) throw(SimpleXMLException) { ^~~~~ client/SimpleXML.h:156:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] int getIntChildAttrib(const string& aName) throw(SimpleXMLException) { ^~~~~ client/SimpleXML.h:160:54: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] int64_t getLongLongChildAttrib(const string& aName) throw(SimpleXMLException) { ^~~~~ client/SimpleXML.h:164:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool getBoolChildAttrib(const string& aName) throw(SimpleXMLException) { ^~~~~ client/SimpleXML.h:171:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void fromXML(const string& aXML) throw(SimpleXMLException); ^~~~~ client/SimpleXML.h:173:30: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void toXML(OutputStream* f) throw(FileException) { if(!root.children.empty()) root.children[0]->toXML(0, f); } ^~~~~ In file included from client/ADLSearch.h:237, from client/ADLSearch.cpp:27: client/DirectoryListing.h:136:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void loadFile(const string& name) throw(Exception); ^~~~~ In file included from client/ADLSearch.cpp:28: client/QueueManager.h:79:60: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] int aFlags = QueueItem::FLAG_RESUME, bool addBad = true) throw(QueueException, FileException); ^~~~~ client/QueueManager.h:81:98: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void addList(const User::Ptr& aUser, int aFlags, const string& aInitialDir = Util::emptyString) throw(QueueException, FileException); ^~~~~ In file included from client/ADLSearch.cpp:28: client/QueueManager.h:83:58: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void addPfs(const User::Ptr& aUser, const string& aDir) throw(QueueException); ^~~~~ client/QueueManager.h:85:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void readd(const string& target, User::Ptr& aUser) throw(QueueException); ^~~~~ client/QueueManager.h:135:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] uint32_t aAdded, const TTHValue& root) throw(QueueException, FileException); ^~~~~ client/QueueManager.h:207:78: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static string checkTarget(const string& aTarget, int64_t aSize, int& flags) throw(QueueException, FileException); ^~~~~ client/QueueManager.h:209:73: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool addSource(QueueItem* qi, User::Ptr aUser, Flags::MaskType addBad) throw(QueueException, FileException); ^~~~~ In file included from client/BufferedSocket.h:31, from client/Client.h:27, from client/ClientManager.h:28, from client/ADLSearch.cpp:29: client/Socket.h:83:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] Socket() throw(SocketException) : sock(INVALID_SOCKET), connected(false), blocking(true) { } ^~~~~ client/Socket.h:84:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] Socket(const string& aIp, uint16_t aPort) throw(SocketException) : sock(INVALID_SOCKET), connected(false), blocking(true) { connect(aIp, aPort); } ^~~~~ In file included from client/BufferedSocket.h:31, from client/Client.h:27, from client/ClientManager.h:28, from client/ADLSearch.cpp:29: client/Socket.h:94:58: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void connect(const string& aIp, uint16_t aPort) throw(SocketException); ^~~~~ client/Socket.h:95:55: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void connect(const string& aIp, const string& aPort) throw(SocketException) { connect(aIp, static_cast(Util::toInt(aPort))); } ^~~~~ client/Socket.h:99:77: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void socksConnect(const string& aIp, uint16_t aPort, uint32_t timeout = 0) throw(SocketException); ^~~~~ client/Socket.h:107:69: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void writeAll(const void* aBuffer, int aLen, uint32_t timeout = 0) throw(SocketException); ^~~~~ client/Socket.h:108:51: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int write(const void* aBuffer, int aLen) throw(SocketException); ^~~~~ client/Socket.h:109:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] int write(const string& aData) throw(SocketException) { return write(aData.data(), (int)aData.length()); } ^~~~~ client/Socket.h:110:108: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void writeTo(const string& aIp, uint16_t aPort, const void* aBuffer, int aLen, bool proxy = true) throw(SocketException); ^~~~~ client/Socket.h:111:71: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void writeTo(const string& aIp, uint16_t aPort, const string& aData) throw(SocketException) { writeTo(aIp, aPort, aData.data(), (int)aData.length()); } ^~~~~ client/Socket.h:123:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int read(void* aBuffer, int aBufLen) throw(SocketException); ^~~~~ client/Socket.h:132:60: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int read(void* aBuffer, int aBufLen, string &aIP) throw(SocketException); ^~~~~ client/Socket.h:139:64: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] int readAll(void* aBuffer, int aBufLen, uint32_t timeout = 0) throw(SocketException); ^~~~~ client/Socket.h:141:49: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int wait(uint32_t millis, int waitFor) throw(SocketException); ^~~~~ client/Socket.h:170:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void create(int aType = TYPE_TCP) throw(SocketException); ^~~~~ client/Socket.h:173:75: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual uint16_t bind(uint16_t aPort = 0, const string& aIp = "0.0.0.0") throw(SocketException); ^~~~~ client/Socket.h:174:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void listen() throw(SocketException); ^~~~~ client/Socket.h:175:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void accept(const Socket& listeningSocket) throw(SocketException); ^~~~~ client/Socket.h:177:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] int getSocketOptInt(int option) throw(SocketException); ^~~~~ client/Socket.h:178:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void setSocketOpt(int option, int value) throw(SocketException); ^~~~~ client/Socket.h:208:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void socksAuth(uint32_t timeout) throw(SocketException); ^~~~~ In file included from client/Client.h:27, from client/ClientManager.h:28, from client/ADLSearch.cpp:29: client/BufferedSocket.h:89:67: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void accept(const Socket& srv, bool secure, bool allowUntrusted) throw(SocketException, ThreadException); ^~~~~ client/BufferedSocket.h:90:101: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void connect(const string& aAddress, uint16_t aPort, bool secure, bool allowUntrusted, bool proxy) throw(SocketException, ThreadException); ^~~~~ In file included from client/Client.h:27, from client/ClientManager.h:28, from client/ADLSearch.cpp:29: client/BufferedSocket.h:170:70: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void threadConnect(const string& aAddr, uint16_t aPort, bool proxy) throw(SocketException); ^~~~~ client/BufferedSocket.h:171:20: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void threadRead() throw(SocketException); ^~~~~ client/BufferedSocket.h:172:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void threadSendFile(InputStream* is) throw(Exception); ^~~~~ g++ -o build/client/BufferedSocket.o -c -march=i486 -Os -pipe -mindirect-branch=thunk -I. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DHAVE_IFADDRS_H -D_DATADIR='"/usr/share"' -pthread -march=i486 -Os -pipe -mindirect-branch=thunk client/BufferedSocket.cpp In file included from /usr/include/c++/8.2.0/ext/hash_map:60, from client/stdinc.h:110, from client/BufferedSocket.cpp:19: /usr/include/c++/8.2.0/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from client/CriticalSection.h:26, from client/Semaphore.h:27, from client/BufferedSocket.h:26, from client/BufferedSocket.cpp:22: client/Thread.h:85:15: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void start() throw(ThreadException); ^~~~~ In file included from client/BufferedSocket.h:31, from client/BufferedSocket.cpp:22: client/Socket.h:83:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] Socket() throw(SocketException) : sock(INVALID_SOCKET), connected(false), blocking(true) { } ^~~~~ client/Socket.h:84:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] Socket(const string& aIp, uint16_t aPort) throw(SocketException) : sock(INVALID_SOCKET), connected(false), blocking(true) { connect(aIp, aPort); } ^~~~~ In file included from client/BufferedSocket.h:31, from client/BufferedSocket.cpp:22: client/Socket.h:94:58: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void connect(const string& aIp, uint16_t aPort) throw(SocketException); ^~~~~ client/Socket.h:95:55: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void connect(const string& aIp, const string& aPort) throw(SocketException) { connect(aIp, static_cast(Util::toInt(aPort))); } ^~~~~ client/Socket.h:99:77: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void socksConnect(const string& aIp, uint16_t aPort, uint32_t timeout = 0) throw(SocketException); ^~~~~ client/Socket.h:107:69: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void writeAll(const void* aBuffer, int aLen, uint32_t timeout = 0) throw(SocketException); ^~~~~ client/Socket.h:108:51: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int write(const void* aBuffer, int aLen) throw(SocketException); ^~~~~ client/Socket.h:109:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] int write(const string& aData) throw(SocketException) { return write(aData.data(), (int)aData.length()); } ^~~~~ client/Socket.h:110:108: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void writeTo(const string& aIp, uint16_t aPort, const void* aBuffer, int aLen, bool proxy = true) throw(SocketException); ^~~~~ client/Socket.h:111:71: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void writeTo(const string& aIp, uint16_t aPort, const string& aData) throw(SocketException) { writeTo(aIp, aPort, aData.data(), (int)aData.length()); } ^~~~~ client/Socket.h:123:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int read(void* aBuffer, int aBufLen) throw(SocketException); ^~~~~ client/Socket.h:132:60: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int read(void* aBuffer, int aBufLen, string &aIP) throw(SocketException); ^~~~~ client/Socket.h:139:64: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] int readAll(void* aBuffer, int aBufLen, uint32_t timeout = 0) throw(SocketException); ^~~~~ client/Socket.h:141:49: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int wait(uint32_t millis, int waitFor) throw(SocketException); ^~~~~ client/Socket.h:170:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void create(int aType = TYPE_TCP) throw(SocketException); ^~~~~ client/Socket.h:173:75: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual uint16_t bind(uint16_t aPort = 0, const string& aIp = "0.0.0.0") throw(SocketException); ^~~~~ client/Socket.h:174:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void listen() throw(SocketException); ^~~~~ client/Socket.h:175:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void accept(const Socket& listeningSocket) throw(SocketException); ^~~~~ client/Socket.h:177:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] int getSocketOptInt(int option) throw(SocketException); ^~~~~ client/Socket.h:178:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void setSocketOpt(int option, int value) throw(SocketException); ^~~~~ client/Socket.h:208:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void socksAuth(uint32_t timeout) throw(SocketException); ^~~~~ In file included from client/BufferedSocket.cpp:22: client/BufferedSocket.h:89:67: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void accept(const Socket& srv, bool secure, bool allowUntrusted) throw(SocketException, ThreadException); ^~~~~ client/BufferedSocket.h:90:101: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void connect(const string& aAddress, uint16_t aPort, bool secure, bool allowUntrusted, bool proxy) throw(SocketException, ThreadException); ^~~~~ In file included from client/BufferedSocket.cpp:22: client/BufferedSocket.h:170:70: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void threadConnect(const string& aAddr, uint16_t aPort, bool proxy) throw(SocketException); ^~~~~ client/BufferedSocket.h:171:20: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void threadRead() throw(SocketException); ^~~~~ client/BufferedSocket.h:172:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void threadSendFile(InputStream* is) throw(Exception); ^~~~~ In file included from client/BufferedSocket.cpp:28: client/Streams.h:44:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t write(const void* buf, size_t len) throw(Exception) = 0; ^~~~~ client/Streams.h:51:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t flush() throw(Exception) = 0; ^~~~~ client/Streams.h:53:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] size_t write(const string& str) throw(Exception) { return write(str.c_str(), str.size()); } ^~~~~ client/Streams.h:68:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t read(void* buf, size_t& len) throw(Exception) = 0; ^~~~~ client/Streams.h:87:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t read(void* tgt, size_t& len) throw(Exception) { ^~~~~ client/Streams.h:112:38: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] size_t read(void* buf, size_t& len) throw(FileException) { ^~~~~ In file included from client/BufferedSocket.cpp:28: client/Streams.h:143:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t flush() throw(Exception) { ^~~~~ client/Streams.h:151:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t write(const void* wbuf, size_t len) throw(Exception) { ^~~~~ client/Streams.h:185:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t flush() throw(Exception) { return 0; } ^~~~~ client/Streams.h:186:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t write(const void* buf, size_t len) throw(Exception) { ^~~~~ In file included from client/BufferedSocket.cpp:29: client/SSLSocket.h:41:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void accept(const Socket& listeningSocket) throw(SocketException); ^~~~~ client/SSLSocket.h:42:58: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void connect(const string& aIp, uint16_t aPort) throw(SocketException); ^~~~~ client/SSLSocket.h:43:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int read(void* aBuffer, int aBufLen) throw(SocketException); ^~~~~ client/SSLSocket.h:44:51: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int write(const void* aBuffer, int aLen) throw(SocketException); ^~~~~ client/SSLSocket.h:45:49: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int wait(uint32_t millis, int waitFor) throw(SocketException); ^~~~~ client/SSLSocket.h:55:30: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] SSLSocket(SSL_CTX* context) throw(SocketException); ^~~~~ client/SSLSocket.h:62:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] int checkSSL(int ret) throw(SocketException); ^~~~~ In file included from client/BufferedSocket.cpp:30: client/CryptoManager.h:47:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void decodeBZ2(const uint8_t* is, size_t sz, string& os) throw(CryptoException); ^~~~~ client/CryptoManager.h:49:50: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] SSLSocket* getClientSocket(bool allowUntrusted) throw(SocketException); ^~~~~ client/CryptoManager.h:50:50: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] SSLSocket* getServerSocket(bool allowUntrusted) throw(SocketException); ^~~~~ client/CryptoManager.h:53:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void generateCertificate() throw(CryptoException); ^~~~~ client/BufferedSocket.cpp:77:82: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void BufferedSocket::accept(const Socket& srv, bool secure, bool allowUntrusted) throw(SocketException, ThreadException) { ^~~~~ client/BufferedSocket.cpp:104:116: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void BufferedSocket::connect(const string& aAddress, uint16_t aPort, bool secure, bool allowUntrusted, bool proxy) throw(SocketException, ThreadException) { ^~~~~ client/BufferedSocket.cpp:133:85: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void BufferedSocket::threadConnect(const string& aAddr, uint16_t aPort, bool proxy) throw(SocketException) { ^~~~~ client/BufferedSocket.cpp:159:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void BufferedSocket::threadRead() throw(SocketException) { ^~~~~ client/BufferedSocket.cpp:265:56: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void BufferedSocket::threadSendFile(InputStream* file) throw(Exception) { ^~~~~ g++ -o build/client/BZUtils.o -c -march=i486 -Os -pipe -mindirect-branch=thunk -I. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DHAVE_IFADDRS_H -D_DATADIR='"/usr/share"' -pthread -march=i486 -Os -pipe -mindirect-branch=thunk client/BZUtils.cpp In file included from /usr/include/c++/8.2.0/ext/hash_map:60, from client/stdinc.h:110, from client/BZUtils.cpp:19: /usr/include/c++/8.2.0/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ g++ -o build/client/Client.o -c -march=i486 -Os -pipe -mindirect-branch=thunk -I. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DHAVE_IFADDRS_H -D_DATADIR='"/usr/share"' -pthread -march=i486 -Os -pipe -mindirect-branch=thunk client/Client.cpp In file included from /usr/include/c++/8.2.0/ext/hash_map:60, from client/stdinc.h:110, from client/Client.cpp:19: /usr/include/c++/8.2.0/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from client/Pointer.h:26, from client/User.h:27, from client/Client.h:26, from client/Client.cpp:22: client/Thread.h:85:15: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void start() throw(ThreadException); ^~~~~ In file included from client/BufferedSocket.h:31, from client/Client.h:27, from client/Client.cpp:22: client/Socket.h:83:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] Socket() throw(SocketException) : sock(INVALID_SOCKET), connected(false), blocking(true) { } ^~~~~ client/Socket.h:84:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] Socket(const string& aIp, uint16_t aPort) throw(SocketException) : sock(INVALID_SOCKET), connected(false), blocking(true) { connect(aIp, aPort); } ^~~~~ In file included from client/BufferedSocket.h:31, from client/Client.h:27, from client/Client.cpp:22: client/Socket.h:94:58: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void connect(const string& aIp, uint16_t aPort) throw(SocketException); ^~~~~ client/Socket.h:95:55: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void connect(const string& aIp, const string& aPort) throw(SocketException) { connect(aIp, static_cast(Util::toInt(aPort))); } ^~~~~ client/Socket.h:99:77: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void socksConnect(const string& aIp, uint16_t aPort, uint32_t timeout = 0) throw(SocketException); ^~~~~ client/Socket.h:107:69: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void writeAll(const void* aBuffer, int aLen, uint32_t timeout = 0) throw(SocketException); ^~~~~ client/Socket.h:108:51: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int write(const void* aBuffer, int aLen) throw(SocketException); ^~~~~ client/Socket.h:109:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] int write(const string& aData) throw(SocketException) { return write(aData.data(), (int)aData.length()); } ^~~~~ client/Socket.h:110:108: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void writeTo(const string& aIp, uint16_t aPort, const void* aBuffer, int aLen, bool proxy = true) throw(SocketException); ^~~~~ client/Socket.h:111:71: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void writeTo(const string& aIp, uint16_t aPort, const string& aData) throw(SocketException) { writeTo(aIp, aPort, aData.data(), (int)aData.length()); } ^~~~~ client/Socket.h:123:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int read(void* aBuffer, int aBufLen) throw(SocketException); ^~~~~ client/Socket.h:132:60: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int read(void* aBuffer, int aBufLen, string &aIP) throw(SocketException); ^~~~~ client/Socket.h:139:64: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] int readAll(void* aBuffer, int aBufLen, uint32_t timeout = 0) throw(SocketException); ^~~~~ client/Socket.h:141:49: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int wait(uint32_t millis, int waitFor) throw(SocketException); ^~~~~ client/Socket.h:170:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void create(int aType = TYPE_TCP) throw(SocketException); ^~~~~ client/Socket.h:173:75: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual uint16_t bind(uint16_t aPort = 0, const string& aIp = "0.0.0.0") throw(SocketException); ^~~~~ client/Socket.h:174:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void listen() throw(SocketException); ^~~~~ client/Socket.h:175:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void accept(const Socket& listeningSocket) throw(SocketException); ^~~~~ client/Socket.h:177:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] int getSocketOptInt(int option) throw(SocketException); ^~~~~ client/Socket.h:178:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void setSocketOpt(int option, int value) throw(SocketException); ^~~~~ client/Socket.h:208:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void socksAuth(uint32_t timeout) throw(SocketException); ^~~~~ In file included from client/Client.h:27, from client/Client.cpp:22: client/BufferedSocket.h:89:67: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void accept(const Socket& srv, bool secure, bool allowUntrusted) throw(SocketException, ThreadException); ^~~~~ client/BufferedSocket.h:90:101: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void connect(const string& aAddress, uint16_t aPort, bool secure, bool allowUntrusted, bool proxy) throw(SocketException, ThreadException); ^~~~~ In file included from client/Client.h:27, from client/Client.cpp:22: client/BufferedSocket.h:170:70: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void threadConnect(const string& aAddr, uint16_t aPort, bool proxy) throw(SocketException); ^~~~~ client/BufferedSocket.h:171:20: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void threadRead() throw(SocketException); ^~~~~ client/BufferedSocket.h:172:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void threadSendFile(InputStream* is) throw(Exception); ^~~~~ g++ -o build/client/ClientManager.o -c -march=i486 -Os -pipe -mindirect-branch=thunk -I. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DHAVE_IFADDRS_H -D_DATADIR='"/usr/share"' -pthread -march=i486 -Os -pipe -mindirect-branch=thunk client/ClientManager.cpp In file included from /usr/include/c++/8.2.0/ext/hash_map:60, from client/stdinc.h:110, from client/ClientManager.cpp:19: /usr/include/c++/8.2.0/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from client/TimerManager.h:26, from client/ClientManager.h:26, from client/ClientManager.cpp:22: client/Thread.h:85:15: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void start() throw(ThreadException); ^~~~~ In file included from client/BufferedSocket.h:31, from client/Client.h:27, from client/ClientManager.h:28, from client/ClientManager.cpp:22: client/Socket.h:83:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] Socket() throw(SocketException) : sock(INVALID_SOCKET), connected(false), blocking(true) { } ^~~~~ client/Socket.h:84:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] Socket(const string& aIp, uint16_t aPort) throw(SocketException) : sock(INVALID_SOCKET), connected(false), blocking(true) { connect(aIp, aPort); } ^~~~~ In file included from client/BufferedSocket.h:31, from client/Client.h:27, from client/ClientManager.h:28, from client/ClientManager.cpp:22: client/Socket.h:94:58: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void connect(const string& aIp, uint16_t aPort) throw(SocketException); ^~~~~ client/Socket.h:95:55: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void connect(const string& aIp, const string& aPort) throw(SocketException) { connect(aIp, static_cast(Util::toInt(aPort))); } ^~~~~ client/Socket.h:99:77: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void socksConnect(const string& aIp, uint16_t aPort, uint32_t timeout = 0) throw(SocketException); ^~~~~ client/Socket.h:107:69: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void writeAll(const void* aBuffer, int aLen, uint32_t timeout = 0) throw(SocketException); ^~~~~ client/Socket.h:108:51: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int write(const void* aBuffer, int aLen) throw(SocketException); ^~~~~ client/Socket.h:109:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] int write(const string& aData) throw(SocketException) { return write(aData.data(), (int)aData.length()); } ^~~~~ client/Socket.h:110:108: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void writeTo(const string& aIp, uint16_t aPort, const void* aBuffer, int aLen, bool proxy = true) throw(SocketException); ^~~~~ client/Socket.h:111:71: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void writeTo(const string& aIp, uint16_t aPort, const string& aData) throw(SocketException) { writeTo(aIp, aPort, aData.data(), (int)aData.length()); } ^~~~~ client/Socket.h:123:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int read(void* aBuffer, int aBufLen) throw(SocketException); ^~~~~ client/Socket.h:132:60: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int read(void* aBuffer, int aBufLen, string &aIP) throw(SocketException); ^~~~~ client/Socket.h:139:64: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] int readAll(void* aBuffer, int aBufLen, uint32_t timeout = 0) throw(SocketException); ^~~~~ client/Socket.h:141:49: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int wait(uint32_t millis, int waitFor) throw(SocketException); ^~~~~ client/Socket.h:170:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void create(int aType = TYPE_TCP) throw(SocketException); ^~~~~ client/Socket.h:173:75: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual uint16_t bind(uint16_t aPort = 0, const string& aIp = "0.0.0.0") throw(SocketException); ^~~~~ client/Socket.h:174:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void listen() throw(SocketException); ^~~~~ client/Socket.h:175:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void accept(const Socket& listeningSocket) throw(SocketException); ^~~~~ client/Socket.h:177:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] int getSocketOptInt(int option) throw(SocketException); ^~~~~ client/Socket.h:178:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void setSocketOpt(int option, int value) throw(SocketException); ^~~~~ client/Socket.h:208:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void socksAuth(uint32_t timeout) throw(SocketException); ^~~~~ In file included from client/Client.h:27, from client/ClientManager.h:28, from client/ClientManager.cpp:22: client/BufferedSocket.h:89:67: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void accept(const Socket& srv, bool secure, bool allowUntrusted) throw(SocketException, ThreadException); ^~~~~ client/BufferedSocket.h:90:101: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void connect(const string& aAddress, uint16_t aPort, bool secure, bool allowUntrusted, bool proxy) throw(SocketException, ThreadException); ^~~~~ In file included from client/Client.h:27, from client/ClientManager.h:28, from client/ClientManager.cpp:22: client/BufferedSocket.h:170:70: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void threadConnect(const string& aAddr, uint16_t aPort, bool proxy) throw(SocketException); ^~~~~ client/BufferedSocket.h:171:20: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void threadRead() throw(SocketException); ^~~~~ client/BufferedSocket.h:172:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void threadSendFile(InputStream* is) throw(Exception); ^~~~~ In file included from client/SearchManager.h:38, from client/ShareManager.h:27, from client/ClientManager.cpp:24: client/AdcCommand.h:114:62: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] explicit AdcCommand(const string& aLine, bool nmdc = false) throw(ParseException); ^~~~~ client/AdcCommand.h:115:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void parse(const string& aLine, bool nmdc = false) throw(ParseException); ^~~~~ In file included from client/ShareManager.h:27, from client/ClientManager.cpp:24: client/SearchManager.h:150:16: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void listen() throw(SocketException); ^~~~~ In file included from client/HashManager.h:35, from client/ShareManager.h:29, from client/ClientManager.cpp:24: client/Streams.h:44:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t write(const void* buf, size_t len) throw(Exception) = 0; ^~~~~ client/Streams.h:51:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t flush() throw(Exception) = 0; ^~~~~ client/Streams.h:53:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] size_t write(const string& str) throw(Exception) { return write(str.c_str(), str.size()); } ^~~~~ client/Streams.h:68:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t read(void* buf, size_t& len) throw(Exception) = 0; ^~~~~ client/Streams.h:87:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t read(void* tgt, size_t& len) throw(Exception) { ^~~~~ client/Streams.h:112:38: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] size_t read(void* buf, size_t& len) throw(FileException) { ^~~~~ In file included from client/HashManager.h:35, from client/ShareManager.h:29, from client/ClientManager.cpp:24: client/Streams.h:143:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t flush() throw(Exception) { ^~~~~ client/Streams.h:151:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t write(const void* wbuf, size_t len) throw(Exception) { ^~~~~ client/Streams.h:185:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t flush() throw(Exception) { return 0; } ^~~~~ client/Streams.h:186:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t write(const void* buf, size_t len) throw(Exception) { ^~~~~ In file included from client/ShareManager.h:29, from client/ClientManager.cpp:24: client/HashManager.h:79:58: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] TTHValue getTTH(const string& aFileName, int64_t aSize) throw(HashException); ^~~~~ In file included from client/ShareManager.h:29, from client/ClientManager.cpp:24: client/HashManager.h:202:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] int64_t saveTree(File& dataFile, const TigerTree& tt) throw(FileException); ^~~~~ In file included from client/UserConnection.h:30, from client/DownloadManager.h:28, from client/ShareManager.h:30, from client/ClientManager.cpp:24: client/File.h:77:54: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] File(const string& aFileName, int access, int mode) throw(FileException); ^~~~~ client/File.h:82:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void setSize(int64_t newSize) throw(FileException); ^~~~~ client/File.h:88:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void setEOF() throw(FileException); ^~~~~ client/File.h:90:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t read(void* buf, size_t& len) throw(FileException); ^~~~~ client/File.h:91:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t write(const void* buf, size_t len) throw(FileException); ^~~~~ client/File.h:92:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t flush() throw(FileException); ^~~~~ client/File.h:96:64: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void copyFile(const string& src, const string& target) throw(FileException); ^~~~~ client/File.h:97:69: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void renameFile(const string& source, const string& target) throw(FileException); ^~~~~ client/File.h:107:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] string read(size_t len) throw(FileException); ^~~~~ client/File.h:108:16: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] string read() throw(FileException); ^~~~~ client/File.h:109:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write(const string& aString) throw(FileException) { write((void*)aString.data(), aString.size()); } ^~~~~ In file included from client/DownloadManager.h:28, from client/ShareManager.h:30, from client/ClientManager.cpp:24: client/UserConnection.h:282:54: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void connect(const string& aServer, uint16_t aPort) throw(SocketException, ThreadException); ^~~~~ client/UserConnection.h:283:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void accept(const Socket& aServer) throw(SocketException, ThreadException); ^~~~~ In file included from client/DownloadManager.h:30, from client/ShareManager.h:30, from client/ClientManager.cpp:24: client/FilteredFile.h:36:17: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] size_t flush() throw(Exception) { ^~~~~ client/FilteredFile.h:41:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] size_t write(const void* buf, size_t len) throw(Exception) { ^~~~~ client/FilteredFile.h:61:17: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] size_t flush() throw(Exception) { ^~~~~ client/FilteredFile.h:65:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] size_t write(const void* buf, size_t len) throw(Exception) { ^~~~~ client/FilteredFile.h:83:38: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] size_t read(void* buf, size_t& len) throw(Exception) { ^~~~~ client/FilteredFile.h:103:17: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] size_t flush() throw(Exception) { ^~~~~ client/FilteredFile.h:123:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] size_t write(const void* wbuf, size_t len) throw(Exception) { ^~~~~ client/FilteredFile.h:172:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] size_t read(void* rbuf, size_t& len) throw(Exception) { ^~~~~ In file included from client/ShareManager.h:30, from client/ClientManager.cpp:24: client/DownloadManager.h:202:73: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool checkRollback(Download* aDownload, const uint8_t* aBuf, int aLen) throw(FileException); ^~~~~ client/DownloadManager.h:210:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] uint32_t calcCrc32(const string& file) throw(FileException); ^~~~~ In file included from client/ClientManager.cpp:24: client/ShareManager.h:59:68: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void addDirectory(const string& aDirectory, const string & aName) throw(ShareException); ^~~~~ client/ShareManager.h:61:65: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void renameDirectory(const string& oName, const string& nName) throw(ShareException); ^~~~~ client/ShareManager.h:62:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] string toVirtual(const TTHValue& tth) throw(ShareException); ^~~~~ client/ShareManager.h:63:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] string toReal(const string& virtualFile) throw(ShareException); ^~~~~ client/ShareManager.h:64:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] TTHValue getTTH(const string& virtualFile) throw(ShareException); ^~~~~ client/ShareManager.h:66:75: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void refresh(bool dirs = false, bool aUpdate = true, bool block = false) throw(ThreadException, ShareException); ^~~~~ client/ShareManager.h:77:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] AdcCommand getFileInfo(const string& aFile) throw(ShareException); ^~~~~ client/ShareManager.h:248:2: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr bzXmlRef; ^~~~~~~~ In file included from /usr/include/c++/8.2.0/memory:80, from client/ShareManager.h:40, from client/ClientManager.cpp:24: /usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from client/CryptoManager.h:32, from client/ClientManager.cpp:26: client/SSLSocket.h:41:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void accept(const Socket& listeningSocket) throw(SocketException); ^~~~~ client/SSLSocket.h:42:58: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void connect(const string& aIp, uint16_t aPort) throw(SocketException); ^~~~~ client/SSLSocket.h:43:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int read(void* aBuffer, int aBufLen) throw(SocketException); ^~~~~ client/SSLSocket.h:44:51: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int write(const void* aBuffer, int aLen) throw(SocketException); ^~~~~ client/SSLSocket.h:45:49: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int wait(uint32_t millis, int waitFor) throw(SocketException); ^~~~~ client/SSLSocket.h:55:30: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] SSLSocket(SSL_CTX* context) throw(SocketException); ^~~~~ client/SSLSocket.h:62:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] int checkSSL(int ret) throw(SocketException); ^~~~~ In file included from client/ClientManager.cpp:26: client/CryptoManager.h:47:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void decodeBZ2(const uint8_t* is, size_t sz, string& os) throw(CryptoException); ^~~~~ client/CryptoManager.h:49:50: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] SSLSocket* getClientSocket(bool allowUntrusted) throw(SocketException); ^~~~~ client/CryptoManager.h:50:50: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] SSLSocket* getServerSocket(bool allowUntrusted) throw(SocketException); ^~~~~ client/CryptoManager.h:53:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void generateCertificate() throw(CryptoException); ^~~~~ In file included from client/ClientManager.cpp:28: client/SimpleXML.h:63:128: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] string::size_type fromXML(const string& tmp, const string& n = Util::emptyString, string::size_type start = 0, int depth = 0) throw(SimpleXMLException); ^~~~~ client/SimpleXML.h:71:96: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] string::size_type loadAttribs(const string& name, const string& tmp, string::size_type start) throw(SimpleXMLException); ^~~~~ client/SimpleXML.h:87:76: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void addTag(const string& aName, const string& aData = Util::emptyString) throw(SimpleXMLException); ^~~~~ client/SimpleXML.h:88:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void addTag(const string& aName, int aData) throw(SimpleXMLException) { ^~~~~ client/SimpleXML.h:91:50: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void addTag(const string& aName, int64_t aData) throw(SimpleXMLException) { ^~~~~ client/SimpleXML.h:96:54: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void addAttrib(const string& aName, const T& aData) throw(SimpleXMLException) { ^~~~~ client/SimpleXML.h:100:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void addAttrib(const string& aName, const string& aData) throw(SimpleXMLException); ^~~~~ client/SimpleXML.h:101:50: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void addAttrib(const string& aName, bool aData) throw(SimpleXMLException) { ^~~~~ client/SimpleXML.h:106:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void addChildAttrib(const string& aName, const T& aData) throw(SimpleXMLException) { ^~~~~ client/SimpleXML.h:109:64: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void addChildAttrib(const string& aName, const string& aData) throw(SimpleXMLException); ^~~~~ client/SimpleXML.h:110:55: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void addChildAttrib(const string& aName, bool aData) throw(SimpleXMLException) { ^~~~~ client/SimpleXML.h:119:16: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void stepIn() throw(SimpleXMLException) { ^~~~~ client/SimpleXML.h:126:17: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void stepOut() throw(SimpleXMLException) { ^~~~~ client/SimpleXML.h:146:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] const string& getChildData() const throw(SimpleXMLException) { ^~~~~ client/SimpleXML.h:151:96: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] const string& getChildAttrib(const string& aName, const string& aDefault = Util::emptyString) throw(SimpleXMLException) { ^~~~~ client/SimpleXML.h:156:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] int getIntChildAttrib(const string& aName) throw(SimpleXMLException) { ^~~~~ client/SimpleXML.h:160:54: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] int64_t getLongLongChildAttrib(const string& aName) throw(SimpleXMLException) { ^~~~~ client/SimpleXML.h:164:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool getBoolChildAttrib(const string& aName) throw(SimpleXMLException) { ^~~~~ client/SimpleXML.h:171:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void fromXML(const string& aXML) throw(SimpleXMLException); ^~~~~ client/SimpleXML.h:173:30: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void toXML(OutputStream* f) throw(FileException) { if(!root.children.empty()) root.children[0]->toXML(0, f); } ^~~~~ g++ -o build/client/ConnectionManager.o -c -march=i486 -Os -pipe -mindirect-branch=thunk -I. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DHAVE_IFADDRS_H -D_DATADIR='"/usr/share"' -pthread -march=i486 -Os -pipe -mindirect-branch=thunk client/ConnectionManager.cpp In file included from /usr/include/c++/8.2.0/ext/hash_map:60, from client/stdinc.h:110, from client/ConnectionManager.cpp:19: /usr/include/c++/8.2.0/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from client/TimerManager.h:26, from client/ConnectionManager.h:26, from client/ConnectionManager.cpp:22: client/Thread.h:85:15: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void start() throw(ThreadException); ^~~~~ In file included from client/BufferedSocket.h:31, from client/UserConnection.h:28, from client/ConnectionManager.h:28, from client/ConnectionManager.cpp:22: client/Socket.h:83:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] Socket() throw(SocketException) : sock(INVALID_SOCKET), connected(false), blocking(true) { } ^~~~~ client/Socket.h:84:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] Socket(const string& aIp, uint16_t aPort) throw(SocketException) : sock(INVALID_SOCKET), connected(false), blocking(true) { connect(aIp, aPort); } ^~~~~ In file included from client/BufferedSocket.h:31, from client/UserConnection.h:28, from client/ConnectionManager.h:28, from client/ConnectionManager.cpp:22: client/Socket.h:94:58: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void connect(const string& aIp, uint16_t aPort) throw(SocketException); ^~~~~ client/Socket.h:95:55: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void connect(const string& aIp, const string& aPort) throw(SocketException) { connect(aIp, static_cast(Util::toInt(aPort))); } ^~~~~ client/Socket.h:99:77: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void socksConnect(const string& aIp, uint16_t aPort, uint32_t timeout = 0) throw(SocketException); ^~~~~ client/Socket.h:107:69: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void writeAll(const void* aBuffer, int aLen, uint32_t timeout = 0) throw(SocketException); ^~~~~ client/Socket.h:108:51: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int write(const void* aBuffer, int aLen) throw(SocketException); ^~~~~ client/Socket.h:109:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] int write(const string& aData) throw(SocketException) { return write(aData.data(), (int)aData.length()); } ^~~~~ client/Socket.h:110:108: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void writeTo(const string& aIp, uint16_t aPort, const void* aBuffer, int aLen, bool proxy = true) throw(SocketException); ^~~~~ client/Socket.h:111:71: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void writeTo(const string& aIp, uint16_t aPort, const string& aData) throw(SocketException) { writeTo(aIp, aPort, aData.data(), (int)aData.length()); } ^~~~~ client/Socket.h:123:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int read(void* aBuffer, int aBufLen) throw(SocketException); ^~~~~ client/Socket.h:132:60: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int read(void* aBuffer, int aBufLen, string &aIP) throw(SocketException); ^~~~~ client/Socket.h:139:64: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] int readAll(void* aBuffer, int aBufLen, uint32_t timeout = 0) throw(SocketException); ^~~~~ client/Socket.h:141:49: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int wait(uint32_t millis, int waitFor) throw(SocketException); ^~~~~ client/Socket.h:170:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void create(int aType = TYPE_TCP) throw(SocketException); ^~~~~ client/Socket.h:173:75: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual uint16_t bind(uint16_t aPort = 0, const string& aIp = "0.0.0.0") throw(SocketException); ^~~~~ client/Socket.h:174:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void listen() throw(SocketException); ^~~~~ client/Socket.h:175:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void accept(const Socket& listeningSocket) throw(SocketException); ^~~~~ client/Socket.h:177:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] int getSocketOptInt(int option) throw(SocketException); ^~~~~ client/Socket.h:178:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void setSocketOpt(int option, int value) throw(SocketException); ^~~~~ client/Socket.h:208:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void socksAuth(uint32_t timeout) throw(SocketException); ^~~~~ In file included from client/UserConnection.h:28, from client/ConnectionManager.h:28, from client/ConnectionManager.cpp:22: client/BufferedSocket.h:89:67: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void accept(const Socket& srv, bool secure, bool allowUntrusted) throw(SocketException, ThreadException); ^~~~~ client/BufferedSocket.h:90:101: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void connect(const string& aAddress, uint16_t aPort, bool secure, bool allowUntrusted, bool proxy) throw(SocketException, ThreadException); ^~~~~ In file included from client/UserConnection.h:28, from client/ConnectionManager.h:28, from client/ConnectionManager.cpp:22: client/BufferedSocket.h:170:70: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void threadConnect(const string& aAddr, uint16_t aPort, bool proxy) throw(SocketException); ^~~~~ client/BufferedSocket.h:171:20: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void threadRead() throw(SocketException); ^~~~~ client/BufferedSocket.h:172:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void threadSendFile(InputStream* is) throw(Exception); ^~~~~ In file included from client/File.h:30, from client/UserConnection.h:30, from client/ConnectionManager.h:28, from client/ConnectionManager.cpp:22: client/Streams.h:44:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t write(const void* buf, size_t len) throw(Exception) = 0; ^~~~~ client/Streams.h:51:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t flush() throw(Exception) = 0; ^~~~~ client/Streams.h:53:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] size_t write(const string& str) throw(Exception) { return write(str.c_str(), str.size()); } ^~~~~ client/Streams.h:68:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t read(void* buf, size_t& len) throw(Exception) = 0; ^~~~~ client/Streams.h:87:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t read(void* tgt, size_t& len) throw(Exception) { ^~~~~ client/Streams.h:112:38: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] size_t read(void* buf, size_t& len) throw(FileException) { ^~~~~ In file included from client/File.h:30, from client/UserConnection.h:30, from client/ConnectionManager.h:28, from client/ConnectionManager.cpp:22: client/Streams.h:143:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t flush() throw(Exception) { ^~~~~ client/Streams.h:151:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t write(const void* wbuf, size_t len) throw(Exception) { ^~~~~ client/Streams.h:185:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t flush() throw(Exception) { return 0; } ^~~~~ client/Streams.h:186:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t write(const void* buf, size_t len) throw(Exception) { ^~~~~ In file included from client/UserConnection.h:30, from client/ConnectionManager.h:28, from client/ConnectionManager.cpp:22: client/File.h:77:54: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] File(const string& aFileName, int access, int mode) throw(FileException); ^~~~~ client/File.h:82:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void setSize(int64_t newSize) throw(FileException); ^~~~~ client/File.h:88:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void setEOF() throw(FileException); ^~~~~ client/File.h:90:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t read(void* buf, size_t& len) throw(FileException); ^~~~~ client/File.h:91:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t write(const void* buf, size_t len) throw(FileException); ^~~~~ client/File.h:92:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t flush() throw(FileException); ^~~~~ client/File.h:96:64: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void copyFile(const string& src, const string& target) throw(FileException); ^~~~~ client/File.h:97:69: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void renameFile(const string& source, const string& target) throw(FileException); ^~~~~ client/File.h:107:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] string read(size_t len) throw(FileException); ^~~~~ client/File.h:108:16: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] string read() throw(FileException); ^~~~~ client/File.h:109:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write(const string& aString) throw(FileException) { write((void*)aString.data(), aString.size()); } ^~~~~ In file included from client/UserConnection.h:32, from client/ConnectionManager.h:28, from client/ConnectionManager.cpp:22: client/AdcCommand.h:114:62: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] explicit AdcCommand(const string& aLine, bool nmdc = false) throw(ParseException); ^~~~~ client/AdcCommand.h:115:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void parse(const string& aLine, bool nmdc = false) throw(ParseException); ^~~~~ In file included from client/ConnectionManager.h:28, from client/ConnectionManager.cpp:22: client/UserConnection.h:282:54: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void connect(const string& aServer, uint16_t aPort) throw(SocketException, ThreadException); ^~~~~ client/UserConnection.h:283:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void accept(const Socket& aServer) throw(SocketException, ThreadException); ^~~~~ In file included from client/ConnectionManager.cpp:22: client/ConnectionManager.h:116:16: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void listen() throw(SocketException); ^~~~~ In file included from client/DownloadManager.h:30, from client/ConnectionManager.cpp:25: client/FilteredFile.h:36:17: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] size_t flush() throw(Exception) { ^~~~~ client/FilteredFile.h:41:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] size_t write(const void* buf, size_t len) throw(Exception) { ^~~~~ client/FilteredFile.h:61:17: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] size_t flush() throw(Exception) { ^~~~~ client/FilteredFile.h:65:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] size_t write(const void* buf, size_t len) throw(Exception) { ^~~~~ client/FilteredFile.h:83:38: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] size_t read(void* buf, size_t& len) throw(Exception) { ^~~~~ client/FilteredFile.h:103:17: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] size_t flush() throw(Exception) { ^~~~~ client/FilteredFile.h:123:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] size_t write(const void* wbuf, size_t len) throw(Exception) { ^~~~~ client/FilteredFile.h:172:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] size_t read(void* rbuf, size_t& len) throw(Exception) { ^~~~~ In file included from client/ConnectionManager.cpp:25: client/DownloadManager.h:202:73: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool checkRollback(Download* aDownload, const uint8_t* aBuf, int aLen) throw(FileException); ^~~~~ client/DownloadManager.h:210:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] uint32_t calcCrc32(const string& file) throw(FileException); ^~~~~ In file included from client/CryptoManager.h:32, from client/ConnectionManager.cpp:27: client/SSLSocket.h:41:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void accept(const Socket& listeningSocket) throw(SocketException); ^~~~~ client/SSLSocket.h:42:58: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void connect(const string& aIp, uint16_t aPort) throw(SocketException); ^~~~~ client/SSLSocket.h:43:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int read(void* aBuffer, int aBufLen) throw(SocketException); ^~~~~ client/SSLSocket.h:44:51: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int write(const void* aBuffer, int aLen) throw(SocketException); ^~~~~ client/SSLSocket.h:45:49: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int wait(uint32_t millis, int waitFor) throw(SocketException); ^~~~~ client/SSLSocket.h:55:30: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] SSLSocket(SSL_CTX* context) throw(SocketException); ^~~~~ client/SSLSocket.h:62:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] int checkSSL(int ret) throw(SocketException); ^~~~~ In file included from client/ConnectionManager.cpp:27: client/CryptoManager.h:47:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void decodeBZ2(const uint8_t* is, size_t sz, string& os) throw(CryptoException); ^~~~~ client/CryptoManager.h:49:50: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] SSLSocket* getClientSocket(bool allowUntrusted) throw(SocketException); ^~~~~ client/CryptoManager.h:50:50: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] SSLSocket* getServerSocket(bool allowUntrusted) throw(SocketException); ^~~~~ client/CryptoManager.h:53:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void generateCertificate() throw(CryptoException); ^~~~~ In file included from client/DirectoryListing.h:30, from client/QueueManager.h:34, from client/ConnectionManager.cpp:29: client/SimpleXML.h:63:128: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] string::size_type fromXML(const string& tmp, const string& n = Util::emptyString, string::size_type start = 0, int depth = 0) throw(SimpleXMLException); ^~~~~ client/SimpleXML.h:71:96: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] string::size_type loadAttribs(const string& name, const string& tmp, string::size_type start) throw(SimpleXMLException); ^~~~~ client/SimpleXML.h:87:76: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void addTag(const string& aName, const string& aData = Util::emptyString) throw(SimpleXMLException); ^~~~~ client/SimpleXML.h:88:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void addTag(const string& aName, int aData) throw(SimpleXMLException) { ^~~~~ client/SimpleXML.h:91:50: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void addTag(const string& aName, int64_t aData) throw(SimpleXMLException) { ^~~~~ client/SimpleXML.h:96:54: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void addAttrib(const string& aName, const T& aData) throw(SimpleXMLException) { ^~~~~ client/SimpleXML.h:100:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void addAttrib(const string& aName, const string& aData) throw(SimpleXMLException); ^~~~~ client/SimpleXML.h:101:50: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void addAttrib(const string& aName, bool aData) throw(SimpleXMLException) { ^~~~~ client/SimpleXML.h:106:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void addChildAttrib(const string& aName, const T& aData) throw(SimpleXMLException) { ^~~~~ client/SimpleXML.h:109:64: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void addChildAttrib(const string& aName, const string& aData) throw(SimpleXMLException); ^~~~~ client/SimpleXML.h:110:55: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void addChildAttrib(const string& aName, bool aData) throw(SimpleXMLException) { ^~~~~ client/SimpleXML.h:119:16: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void stepIn() throw(SimpleXMLException) { ^~~~~ client/SimpleXML.h:126:17: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void stepOut() throw(SimpleXMLException) { ^~~~~ client/SimpleXML.h:146:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] const string& getChildData() const throw(SimpleXMLException) { ^~~~~ client/SimpleXML.h:151:96: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] const string& getChildAttrib(const string& aName, const string& aDefault = Util::emptyString) throw(SimpleXMLException) { ^~~~~ client/SimpleXML.h:156:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] int getIntChildAttrib(const string& aName) throw(SimpleXMLException) { ^~~~~ client/SimpleXML.h:160:54: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] int64_t getLongLongChildAttrib(const string& aName) throw(SimpleXMLException) { ^~~~~ client/SimpleXML.h:164:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool getBoolChildAttrib(const string& aName) throw(SimpleXMLException) { ^~~~~ client/SimpleXML.h:171:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void fromXML(const string& aXML) throw(SimpleXMLException); ^~~~~ client/SimpleXML.h:173:30: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void toXML(OutputStream* f) throw(FileException) { if(!root.children.empty()) root.children[0]->toXML(0, f); } ^~~~~ In file included from client/QueueManager.h:34, from client/ConnectionManager.cpp:29: client/DirectoryListing.h:136:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void loadFile(const string& name) throw(Exception); ^~~~~ In file included from client/ConnectionManager.cpp:29: client/QueueManager.h:79:60: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] int aFlags = QueueItem::FLAG_RESUME, bool addBad = true) throw(QueueException, FileException); ^~~~~ client/QueueManager.h:81:98: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void addList(const User::Ptr& aUser, int aFlags, const string& aInitialDir = Util::emptyString) throw(QueueException, FileException); ^~~~~ In file included from client/ConnectionManager.cpp:29: client/QueueManager.h:83:58: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void addPfs(const User::Ptr& aUser, const string& aDir) throw(QueueException); ^~~~~ client/QueueManager.h:85:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void readd(const string& target, User::Ptr& aUser) throw(QueueException); ^~~~~ client/QueueManager.h:135:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] uint32_t aAdded, const TTHValue& root) throw(QueueException, FileException); ^~~~~ client/QueueManager.h:207:78: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static string checkTarget(const string& aTarget, int64_t aSize, int& flags) throw(QueueException, FileException); ^~~~~ client/QueueManager.h:209:73: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool addSource(QueueItem* qi, User::Ptr aUser, Flags::MaskType addBad) throw(QueueException, FileException); ^~~~~ client/ConnectionManager.cpp:47:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void ConnectionManager::listen() throw(SocketException){ ^~~~~ g++ -o build/client/CryptoManager.o -c -march=i486 -Os -pipe -mindirect-branch=thunk -I. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DHAVE_IFADDRS_H -D_DATADIR='"/usr/share"' -pthread -march=i486 -Os -pipe -mindirect-branch=thunk client/CryptoManager.cpp In file included from /usr/include/c++/8.2.0/ext/hash_map:60, from client/stdinc.h:110, from client/CryptoManager.cpp:19: /usr/include/c++/8.2.0/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from client/CriticalSection.h:26, from client/Speaker.h:26, from client/SettingsManager.h:27, from client/CryptoManager.h:26, from client/CryptoManager.cpp:22: client/Thread.h:85:15: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void start() throw(ThreadException); ^~~~~ In file included from client/SSLSocket.h:22, from client/CryptoManager.h:32, from client/CryptoManager.cpp:22: client/Socket.h:83:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] Socket() throw(SocketException) : sock(INVALID_SOCKET), connected(false), blocking(true) { } ^~~~~ client/Socket.h:84:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] Socket(const string& aIp, uint16_t aPort) throw(SocketException) : sock(INVALID_SOCKET), connected(false), blocking(true) { connect(aIp, aPort); } ^~~~~ In file included from client/SSLSocket.h:22, from client/CryptoManager.h:32, from client/CryptoManager.cpp:22: client/Socket.h:94:58: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void connect(const string& aIp, uint16_t aPort) throw(SocketException); ^~~~~ client/Socket.h:95:55: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void connect(const string& aIp, const string& aPort) throw(SocketException) { connect(aIp, static_cast(Util::toInt(aPort))); } ^~~~~ client/Socket.h:99:77: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void socksConnect(const string& aIp, uint16_t aPort, uint32_t timeout = 0) throw(SocketException); ^~~~~ client/Socket.h:107:69: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void writeAll(const void* aBuffer, int aLen, uint32_t timeout = 0) throw(SocketException); ^~~~~ client/Socket.h:108:51: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int write(const void* aBuffer, int aLen) throw(SocketException); ^~~~~ client/Socket.h:109:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] int write(const string& aData) throw(SocketException) { return write(aData.data(), (int)aData.length()); } ^~~~~ client/Socket.h:110:108: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void writeTo(const string& aIp, uint16_t aPort, const void* aBuffer, int aLen, bool proxy = true) throw(SocketException); ^~~~~ client/Socket.h:111:71: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void writeTo(const string& aIp, uint16_t aPort, const string& aData) throw(SocketException) { writeTo(aIp, aPort, aData.data(), (int)aData.length()); } ^~~~~ client/Socket.h:123:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int read(void* aBuffer, int aBufLen) throw(SocketException); ^~~~~ client/Socket.h:132:60: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int read(void* aBuffer, int aBufLen, string &aIP) throw(SocketException); ^~~~~ client/Socket.h:139:64: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] int readAll(void* aBuffer, int aBufLen, uint32_t timeout = 0) throw(SocketException); ^~~~~ client/Socket.h:141:49: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int wait(uint32_t millis, int waitFor) throw(SocketException); ^~~~~ client/Socket.h:170:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void create(int aType = TYPE_TCP) throw(SocketException); ^~~~~ client/Socket.h:173:75: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual uint16_t bind(uint16_t aPort = 0, const string& aIp = "0.0.0.0") throw(SocketException); ^~~~~ client/Socket.h:174:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void listen() throw(SocketException); ^~~~~ client/Socket.h:175:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void accept(const Socket& listeningSocket) throw(SocketException); ^~~~~ client/Socket.h:177:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] int getSocketOptInt(int option) throw(SocketException); ^~~~~ client/Socket.h:178:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void setSocketOpt(int option, int value) throw(SocketException); ^~~~~ client/Socket.h:208:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void socksAuth(uint32_t timeout) throw(SocketException); ^~~~~ In file included from client/CryptoManager.h:32, from client/CryptoManager.cpp:22: client/SSLSocket.h:41:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void accept(const Socket& listeningSocket) throw(SocketException); ^~~~~ client/SSLSocket.h:42:58: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void connect(const string& aIp, uint16_t aPort) throw(SocketException); ^~~~~ client/SSLSocket.h:43:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int read(void* aBuffer, int aBufLen) throw(SocketException); ^~~~~ client/SSLSocket.h:44:51: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int write(const void* aBuffer, int aLen) throw(SocketException); ^~~~~ client/SSLSocket.h:45:49: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual int wait(uint32_t millis, int waitFor) throw(SocketException); ^~~~~ client/SSLSocket.h:55:30: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] SSLSocket(SSL_CTX* context) throw(SocketException); ^~~~~ client/SSLSocket.h:62:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] int checkSSL(int ret) throw(SocketException); ^~~~~ In file included from client/CryptoManager.cpp:22: client/CryptoManager.h:47:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void decodeBZ2(const uint8_t* is, size_t sz, string& os) throw(CryptoException); ^~~~~ client/CryptoManager.h:49:50: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] SSLSocket* getClientSocket(bool allowUntrusted) throw(SocketException); ^~~~~ client/CryptoManager.h:50:50: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] SSLSocket* getServerSocket(bool allowUntrusted) throw(SocketException); ^~~~~ client/CryptoManager.h:53:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void generateCertificate() throw(CryptoException); ^~~~~ In file included from client/CryptoManager.cpp:24: client/BitInputStream.h:41:13: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool get() throw(BitStreamException) { ^~~~~ In file included from client/File.h:30, from client/LogManager.h:26, from client/CryptoManager.cpp:27: client/Streams.h:44:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t write(const void* buf, size_t len) throw(Exception) = 0; ^~~~~ client/Streams.h:51:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t flush() throw(Exception) = 0; ^~~~~ client/Streams.h:53:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] size_t write(const string& str) throw(Exception) { return write(str.c_str(), str.size()); } ^~~~~ client/Streams.h:68:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t read(void* buf, size_t& len) throw(Exception) = 0; ^~~~~ client/Streams.h:87:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t read(void* tgt, size_t& len) throw(Exception) { ^~~~~ client/Streams.h:112:38: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] size_t read(void* buf, size_t& len) throw(FileException) { ^~~~~ In file included from client/File.h:30, from client/LogManager.h:26, from client/CryptoManager.cpp:27: client/Streams.h:143:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t flush() throw(Exception) { ^~~~~ client/Streams.h:151:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t write(const void* wbuf, size_t len) throw(Exception) { ^~~~~ client/Streams.h:185:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t flush() throw(Exception) { return 0; } ^~~~~ client/Streams.h:186:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t write(const void* buf, size_t len) throw(Exception) { ^~~~~ In file included from client/LogManager.h:26, from client/CryptoManager.cpp:27: client/File.h:77:54: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] File(const string& aFileName, int access, int mode) throw(FileException); ^~~~~ client/File.h:82:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void setSize(int64_t newSize) throw(FileException); ^~~~~ client/File.h:88:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void setEOF() throw(FileException); ^~~~~ client/File.h:90:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t read(void* buf, size_t& len) throw(FileException); ^~~~~ client/File.h:91:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t write(const void* buf, size_t len) throw(FileException); ^~~~~ client/File.h:92:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual size_t flush() throw(FileException); ^~~~~ client/File.h:96:64: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void copyFile(const string& src, const string& target) throw(FileException); ^~~~~ client/File.h:97:69: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void renameFile(const string& source, const string& target) throw(FileException); ^~~~~ client/File.h:107:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] string read(size_t len) throw(FileException); ^~~~~ client/File.h:108:16: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] string read() throw(FileException); ^~~~~ client/File.h:109:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write(const string& aString) throw(FileException) { write((void*)aString.data(), aString.size()); } ^~~~~ In file included from client/Client.h:27, from client/ClientManager.h:28, from client/CryptoManager.cpp:28: client/BufferedSocket.h:89:67: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void accept(const Socket& srv, bool secure, bool allowUntrusted) throw(SocketException, ThreadException); ^~~~~ client/BufferedSocket.h:90:101: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void connect(const string& aAddress, uint16_t aPort, bool secure, bool allowUntrusted, bool proxy) throw(SocketException, ThreadException); ^~~~~ In file included from client/Client.h:27, from client/ClientManager.h:28, from client/CryptoManager.cpp:28: client/BufferedSocket.h:170:70: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void threadConnect(const string& aAddr, uint16_t aPort, bool proxy) throw(SocketException); ^~~~~ client/BufferedSocket.h:171:20: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void threadRead() throw(SocketException); ^~~~~ client/BufferedSocket.h:172:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void threadSendFile(InputStream* is) throw(Exception); ^~~~~ client/CryptoManager.cpp: In constructor 'CryptoManager::CryptoManager()': client/CryptoManager.cpp:46:50: warning: 'const SSL_METHOD* TLSv1_client_method()' is deprecated [-Wdeprecated-declarations] clientContext = SSL_CTX_new(TLSv1_client_method()); ^ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/ssl.h:15, from client/SSLSocket.h:25, from client/CryptoManager.h:32, from client/CryptoManager.cpp:22: /usr/include/openssl/ssl.h:1866:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) ^~~~~~~~~~~~~~~~~~ client/CryptoManager.cpp:46:50: warning: 'const SSL_METHOD* TLSv1_client_method()' is deprecated [-Wdeprecated-declarations] clientContext = SSL_CTX_new(TLSv1_client_method()); ^ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/ssl.h:15, from client/SSLSocket.h:25, from client/CryptoManager.h:32, from client/CryptoManager.cpp:22: /usr/include/openssl/ssl.h:1866:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) ^~~~~~~~~~~~~~~~~~ client/CryptoManager.cpp:47:53: warning: 'const SSL_METHOD* TLSv1_client_method()' is deprecated [-Wdeprecated-declarations] clientVerContext = SSL_CTX_new(TLSv1_client_method()); ^ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/ssl.h:15, from client/SSLSocket.h:25, from client/CryptoManager.h:32, from client/CryptoManager.cpp:22: /usr/include/openssl/ssl.h:1866:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) ^~~~~~~~~~~~~~~~~~ client/CryptoManager.cpp:47:53: warning: 'const SSL_METHOD* TLSv1_client_method()' is deprecated [-Wdeprecated-declarations] clientVerContext = SSL_CTX_new(TLSv1_client_method()); ^ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/ssl.h:15, from client/SSLSocket.h:25, from client/CryptoManager.h:32, from client/CryptoManager.cpp:22: /usr/include/openssl/ssl.h:1866:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) ^~~~~~~~~~~~~~~~~~ client/CryptoManager.cpp:48:50: warning: 'const SSL_METHOD* TLSv1_server_method()' is deprecated [-Wdeprecated-declarations] serverContext = SSL_CTX_new(TLSv1_server_method()); ^ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/ssl.h:15, from client/SSLSocket.h:25, from client/CryptoManager.h:32, from client/CryptoManager.cpp:22: /usr/include/openssl/ssl.h:1865:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void)) ^~~~~~~~~~~~~~~~~~ client/CryptoManager.cpp:48:50: warning: 'const SSL_METHOD* TLSv1_server_method()' is deprecated [-Wdeprecated-declarations] serverContext = SSL_CTX_new(TLSv1_server_method()); ^ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/ssl.h:15, from client/SSLSocket.h:25, from client/CryptoManager.h:32, from client/CryptoManager.cpp:22: /usr/include/openssl/ssl.h:1865:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void)) ^~~~~~~~~~~~~~~~~~ client/CryptoManager.cpp:49:53: warning: 'const SSL_METHOD* TLSv1_server_method()' is deprecated [-Wdeprecated-declarations] serverVerContext = SSL_CTX_new(TLSv1_server_method()); ^ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/ssl.h:15, from client/SSLSocket.h:25, from client/CryptoManager.h:32, from client/CryptoManager.cpp:22: /usr/include/openssl/ssl.h:1865:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void)) ^~~~~~~~~~~~~~~~~~ client/CryptoManager.cpp:49:53: warning: 'const SSL_METHOD* TLSv1_server_method()' is deprecated [-Wdeprecated-declarations] serverVerContext = SSL_CTX_new(TLSv1_server_method()); ^ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/ssl.h:15, from client/SSLSocket.h:25, from client/CryptoManager.h:32, from client/CryptoManager.cpp:22: /usr/include/openssl/ssl.h:1865:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void)) ^~~~~~~~~~~~~~~~~~ client/CryptoManager.cpp:67:5: error: invalid use of incomplete type 'DH' {aka 'struct dh_st'} dh->p = BN_bin2bn(dh512_p, sizeof(dh512_p), 0); ^~ In file included from /usr/include/openssl/crypto.h:25, from /usr/include/openssl/comp.h:16, from /usr/include/openssl/ssl.h:17, from client/SSLSocket.h:25, from client/CryptoManager.h:32, from client/CryptoManager.cpp:22: /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH' {aka 'struct dh_st'} typedef struct dh_st DH; ^~~~~ client/CryptoManager.cpp:68:5: error: invalid use of incomplete type 'DH' {aka 'struct dh_st'} dh->g = BN_bin2bn(dh512_g, sizeof(dh512_g), 0); ^~ In file included from /usr/include/openssl/crypto.h:25, from /usr/include/openssl/comp.h:16, from /usr/include/openssl/ssl.h:17, from client/SSLSocket.h:25, from client/CryptoManager.h:32, from client/CryptoManager.cpp:22: /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH' {aka 'struct dh_st'} typedef struct dh_st DH; ^~~~~ client/CryptoManager.cpp:70:10: error: invalid use of incomplete type 'DH' {aka 'struct dh_st'} if (!dh->p || !dh->g) { ^~ In file included from /usr/include/openssl/crypto.h:25, from /usr/include/openssl/comp.h:16, from /usr/include/openssl/ssl.h:17, from client/SSLSocket.h:25, from client/CryptoManager.h:32, from client/CryptoManager.cpp:22: /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH' {aka 'struct dh_st'} typedef struct dh_st DH; ^~~~~ client/CryptoManager.cpp:70:20: error: invalid use of incomplete type 'DH' {aka 'struct dh_st'} if (!dh->p || !dh->g) { ^~ In file included from /usr/include/openssl/crypto.h:25, from /usr/include/openssl/comp.h:16, from /usr/include/openssl/ssl.h:17, from client/SSLSocket.h:25, from client/CryptoManager.h:32, from client/CryptoManager.cpp:22: /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH' {aka 'struct dh_st'} typedef struct dh_st DH; ^~~~~ client/CryptoManager.cpp: At global scope: client/CryptoManager.cpp:97:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void CryptoManager::generateCertificate() throw(CryptoException) { ^~~~~ client/CryptoManager.cpp:226:64: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] SSLSocket* CryptoManager::getClientSocket(bool allowUntrusted) throw(SocketException) { ^~~~~ client/CryptoManager.cpp:229:64: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] SSLSocket* CryptoManager::getServerSocket(bool allowUntrusted) throw(SocketException) { ^~~~~ client/CryptoManager.cpp:234:73: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void CryptoManager::decodeBZ2(const uint8_t* is, size_t sz, string& os) throw (CryptoException) { ^~~~~ scons: *** [build/client/CryptoManager.o] Error 1 scons: building terminated because of errors. Build dependencies to remove: 85 Removing: atk atk-dev bzip2-dev cairo cairo-dev fontconfig fontconfig-dev freetype freetype-dev fribidi fribidi-dev gdk-pixbuf gdk-pixbuf-dev glib glib-dev gtk2 gtk2-dev harfbuzz harfbuzz-dev libbzip2 libcairo libcups libglade libglade-dev libgnutls libharfbuzz libidn2 libjpeg-turbo libp11-kit libpcre libpcre16 libpcre32 libpcrecpp libpcreposix libpng libpng-dev libtasn1 libtiff libunistring libx11 libx11-dev libxau libxau-dev libxcb libxcb-dev libxdmcp libxdmcp-dev libxext libxext-dev libxft libxft-dev libxinerama libxml2 libxml2-dev libxml2-tools libxrender libxrender-dev nettle openssl-dev pango pango-dev pango-typelib pcre pcre-apps pcre-dev perl perl-core pixman pixman-dev scons2 shared-mime-info shared-mime-info-dev unbound util-linux-blkid util-linux-blkid-dev util-linux-mount util-linux-mount-dev util-linux-smartcols util-linux-uuid util-linux-uuid-dev xorgproto xz-dev xz-tools zlib-dev zlib-static Debug information ret1. ================================================================================ Cook date: 2019-01-05 05:45 Wasted time : 79s ~ 01m 19s 2177:client/CryptoManager.cpp:67:5: error: invalid use of incomplete type 'DH' {aka 'struct dh_st'} 2189:client/CryptoManager.cpp:68:5: error: invalid use of incomplete type 'DH' {aka 'struct dh_st'} 2201:client/CryptoManager.cpp:70:10: error: invalid use of incomplete type 'DH' {aka 'struct dh_st'} 2213:client/CryptoManager.cpp:70:20: error: invalid use of incomplete type 'DH' {aka 'struct dh_st'} ================================================================================ Post-check ================================================================================ Checking build... Failed Updating activity log... Done ================================================================================