Bugfix: Include <memory> for std::unique_ptr#12859
Conversation
|
This doesn't compile on NetBSD 7.0 (64-bit), but the unmodified branch builds as expected. It seems that these updates prevent the check for "-ldb_cxx" from succeeding, even though Berkeley DB4 is already installed. STEPS OUTCOME If a change is needed for the Thanks. |
|
Don't use PR branches directly (this one is based on the last common commit between 0.15 and master, for maximum merge-compatibility). Merge it into master to test. (This shouldn't change anything during configure.) |
|
@luke-jr I'm still learning how to use git, et al., so I welcome any suggestions on the proper way to attempt to compile with your changes. |
|
|
ACK. @luke-jr Thanks, that worked, and it compiled successfully on NetBSD. |
|
@fanquake This should be "Bug", not "Refactoring"... |
|
utACK a5bca13. |
|
utACK a5bca13 |
|
utACK a5bca13. |
GitHub-Pull: bitcoin#12859 Rebased-From: a5bca13
|
Added to #13455 for backport. |
9fd3e00 depends: Update Qt download url (fanquake) f7401c8 Fix parameter count check for importpubkey. (Kristaps Kaupe) cbd2f70 expose CBlockIndex::nTx in getblock(header) (Gregory Sanders) ce8aa54 Add Windows shutdown handler (Chun Kuan Lee) 18b0c69 Bugfix: Include <memory> for std::unique_ptr (Luke Dashjr) Pull request description: Backports: * #12859 Bugfix: Include <memory> for std::unique_ptr * #13131 Add Windows shutdown handler * #13451 rpc: expose CBlockIndex::nTx in getblock(header) * #13507 RPC: Fix parameter count check for importpubkey * #13544 depends: Update Qt download url to the 0.16 branch. Tree-SHA512: eeaec52d001d5c81e67dda3a2d3fee7a9445e569366e597b18e81d802c1b7f89e545afd53d094740c37c1714050304979398b9860144454d3a5cb5abc9e9eaca
GitHub-Pull: bitcoin#12859 Rebased-From: a5bca13
Not sure why all these includes were missing, but it's breaking builds for some users:
https://bugs.gentoo.org/show_bug.cgi?id=652142
(Added to all files with a reference to
std::unique_ptr)