biosocks2.cpp: In function 'void ThreadMain(void)':
biosocks2.cpp:550:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
std::auto_ptr client(static_cast<Client*>(arg));
^~~~
In file included from /usr/include/c++/6/memory:81:0,
from /usr/include/c++/6/tr1/memory:39,
from biosocks2.cpp:3:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template class auto_ptr;
^~~~
biosocks2.cpp: In function 'void ThreadMain(void)': biosocks2.cpp:550:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
std::auto_ptr client(static_cast<Client*>(arg));
^ class auto_ptr;
^
~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/c++/6/tr1/memory:39, from biosocks2.cpp:3: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template~~~