Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compilation fails with Db 6.2 #33

Closed
rbiegel opened this issue Nov 2, 2016 · 3 comments
Closed

compilation fails with Db 6.2 #33

rbiegel opened this issue Nov 2, 2016 · 3 comments

Comments

@rbiegel
Copy link

rbiegel commented Nov 2, 2016

db.cpp: In member function ‘void CDBEnv::EnvShutdown()’:
db.cpp:40:16: error: call of overloaded ‘DbEnv(int)’ is ambiguous
         DbEnv(0).remove(path.string().c_str(), 0);
                ^
In file included from db.h:14:0,
                 from db.cpp:6:
/usr/include/db6.2/db_cxx.h:916:2: note: candidate: DbEnv::DbEnv(const DbEnv&)
  DbEnv(const DbEnv &);
  ^
In file included from db.h:14:0,
                 from db.cpp:6:
/usr/include/db6.2/db_cxx.h:518:2: note: candidate: DbEnv::DbEnv(DB_ENV*)
  DbEnv(DB_ENV *dbenv);
  ^
/usr/include/db6.2/db_cxx.h:516:2: note: candidate: DbEnv::DbEnv(u_int32_t)
  DbEnv(u_int32_t flags);
  ^

Fix from bitcoin: bitcoin/bitcoin@323a5fe

@nopslide
Copy link
Member

nopslide commented Nov 2, 2016

we tried with 4.8

@barrystyle
Copy link
Contributor

works fine with 5.3

@aizensou
Copy link
Contributor

Berkeley DB 6.2 isn't supported.

ultimaweapon added a commit that referenced this issue Apr 18, 2019
Fix generateCoins unit test function. Added denom parameter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants