Alexey Vesnin
323a5fe06a
Berkeley DB v6 compatibility fix
Fixes building error looking like this:
CXX wallet/libbitcoin_wallet_a-db.o
wallet/db.cpp: In member function ‘void CDBEnv::EnvShutdown()’:
wallet/db.cpp:46:16: error: call of overloaded ‘DbEnv(int)’ is ambiguous
DbEnv(0).remove(strPath.c_str(), 0);
^
wallet/db.cpp:46:16: note: candidates are:
In file included from wallet/db.h:21:0,
from wallet/db.cpp:6:
/usr/include/db_cxx.h:916:2: note: DbEnv::DbEnv(const DbEnv&)
DbEnv(const DbEnv &);
^
/usr/include/db_cxx.h:518:2: note: DbEnv::DbEnv(DB_ENV)
DbEnv(DB_ENV *dbenv);
^
/usr/include/db_cxx.h:516:2: note: DbEnv::DbEnv(u_int32_t)
DbEnv(u_int32_t flags);
^
Makefile:5780: recipe for target 'wallet/libbitcoin_wallet_a-db.o' failed
make[2]: ** [wallet/libbitcoin_wallet_a-db.o] Error 1
2016-08-30 09:00:55 +03:00
..
2016-08-24 12:10:42 +02:00
2016-05-13 10:23:04 +02:00
2016-05-13 10:23:04 +02:00
2016-08-30 09:00:55 +03:00
2016-08-23 15:36:23 +02:00
2016-08-24 19:28:04 +02:00
2016-07-31 14:01:44 -04:00
2016-03-31 10:48:32 +02:00
2016-08-25 14:59:38 +02:00
2016-08-24 10:33:16 +02:00
2016-08-29 16:16:23 +02:00
2016-07-15 10:34:08 +02:00