Skip to content

Conversation

theuni
Copy link
Member

@theuni theuni commented Apr 30, 2016

They're guaranteed with c++11

They're guaranteed with c++11
@paveljanik
Copy link
Contributor

utACK de98290

@laanwj
Copy link
Member

laanwj commented May 2, 2016

utACK de98290

This reminds me, we should make tinyformat use variadic template as well (TINYFORMAT_USE_VARIADIC_TEMPLATES) if that's not the case yet automatically.

@laanwj
Copy link
Member

laanwj commented May 2, 2016

A quick test shows that it auto-detects and uses them automatically, at least on clang 3.9:

#ifdef TINYFORMAT_USE_VARIADIC_TEMPLATES
#error Using variadic templates
#endif

The detection method is a tad outdated though:

#   ifdef __GXX_EXPERIMENTAL_CXX0X__
#       define TINYFORMAT_USE_VARIADIC_TEMPLATES
#   endif

@theuni
Copy link
Member Author

theuni commented May 2, 2016

@laanwj Agreed, defining it explicitly couldn't hurt.

@laanwj laanwj merged commit de98290 into bitcoin:master May 4, 2016
laanwj added a commit that referenced this pull request May 4, 2016
de98290 build: No need to check for leveldb atomics (Cory Fields)
laanwj added a commit to laanwj/bitcoin that referenced this pull request May 4, 2016
Now that we started using c++11, force use of variadic templates.

The autodetection may be wonky on some compilers, see discussion
[here](bitcoin#7982 (comment))
and is unnecessary for us anyhow.
deadalnix pushed a commit to deadalnix/bitcoin that referenced this pull request Jan 19, 2017
Now that we started using c++11, force use of variadic templates.

The autodetection may be wonky on some compilers, see discussion
[here](bitcoin#7982 (comment))
and is unnecessary for us anyhow.
dagurval pushed a commit to dagurval/bitcoinxt that referenced this pull request Apr 23, 2017
Now that we started using c++11, force use of variadic templates.

The autodetection may be wonky on some compilers, see discussion
[here](bitcoin/bitcoin#7982 (comment))
and is unnecessary for us anyhow.
codablock pushed a commit to codablock/dash that referenced this pull request Dec 20, 2017
de98290 build: No need to check for leveldb atomics (Cory Fields)
lateminer pushed a commit to lateminer/bitcoin that referenced this pull request Oct 21, 2018
Now that we started using c++11, force use of variadic templates.

The autodetection may be wonky on some compilers, see discussion
[here](bitcoin#7982 (comment))
and is unnecessary for us anyhow.
zkbot added a commit to zcash/zcash that referenced this pull request Sep 25, 2020
Update LevelDB to upstream commit f545dfabf

Cherry-picked from the following upstream PRs:

- bitcoin/bitcoin#7911
- bitcoin/bitcoin#7982
- bitcoin/bitcoin#8133
- bitcoin/bitcoin#8784
  - Only the missing changes.
- bitcoin/bitcoin#8826
- bitcoin/bitcoin#8613
- bitcoin/bitcoin#10544
- bitcoin/bitcoin#10633
  - Only the changes to files and code we have.
- bitcoin/bitcoin#10806
- bitcoin/bitcoin#10958
- bitcoin/bitcoin#12451
- bitcoin/bitcoin#13925
- bitcoin/bitcoin#15270

This upgrades LevelDB in the exact same commit progression as upstream, up to January 2019.
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants