You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
miner.cpp: In function ‘CBlock* CreateNewBlock(CWallet*, bool, int64_t*)’:
miner.cpp:116:5: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
auto_ptr<CBlock> pblock(new CBlock());
^~~~~~~~
Although it doesn't seem to be a critical error, I'm going to go ahead and leave it here ;)
The text was updated successfully, but these errors were encountered:
kkoenen
changed the title
‘template<class> class std::auto_ptr’ is deprecated
warning: ‘template<class> class std::auto_ptr’ is deprecated
May 18, 2019
In file included from /usr/include/c++/7/memory:80:0,
from /usr/include/boost/config/no_tr1/memory.hpp:21,
from /usr/include/boost/smart_ptr/shared_ptr.hpp:23,
from /usr/include/boost/shared_ptr.hpp:17,
from /usr/include/boost/date_time/time_clock.hpp:17,
from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/lock_types.hpp:18,
from /usr/include/boost/thread/pthread/mutex.hpp:16,
from /usr/include/boost/thread/mutex.hpp:16,
from src/allocators.h:10,
from src/serialize.h:22,
from src/bignum.h:9,
from src/main.h:12,
from src/txdb-leveldb.h:9,
from src/txdb.h:9,
from src/miner.cpp:10:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template class auto_ptr;
While building wallet;
Although it doesn't seem to be a critical error, I'm going to go ahead and leave it here ;)
The text was updated successfully, but these errors were encountered: