Wladimir J. van der Laan
9eaa0afa6e
tinyformat: force USE_VARIADIC_TEMPLATES
...
Now that we started using c++11, force use of variadic templates.
The autodetection may be wonky on some compilers, see discussion
[here](https://github.com/bitcoin/bitcoin/pull/7982#issuecomment-216222357 )
and is unnecessary for us anyhow.
2016-05-04 11:37:10 +02:00
Wladimir J. van der Laan
6e5fd003e0
Move *Version()
functions to version.h/cpp
2014-08-26 13:25:21 +02:00
Wladimir J. van der Laan
9b6d4c5cdc
Move strprintf define to tinyformat.h
...
This avoids a dependency on util.h if just tinyformat is needed.
2014-08-20 10:51:18 +02:00
Wladimir J. van der Laan
1b8fd35aad
Make tinyformat errors raise an exception instead of assert()ing
...
By default tinyformat errors such as 'wrong number of conversion
specifiers in format string' cause an assertion failure.
Raise an exception instead so that error handling can recover or can
show an appropriate error.
2014-02-28 09:25:00 +01:00
Wladimir J. van der Laan
b77dfdc9e3
Typesafe strprintf/error/LogPrint functions
...
Switch to tinyformat-based formatting.
Tinyformat is a typesafe drop-in replacement for C99 printf functions:
https://github.com/c42f/tinyformat
2014-01-23 16:05:00 +01:00