diff options
author | Alexey Vesnin <serxis@gmail.com> | 2016-08-30 09:00:55 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-30 09:00:55 +0300 |
commit | 323a5fe06af43d3922a435e696d6c52acc6fade1 (patch) | |
tree | 3d33d4a3766159ba00670c35af21e7fe1b8e7cf3 /README.md | |
parent | 89de1538ce1f8c00f80e8d11f43e1b77e24d7dea (diff) |
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
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions