parent
d46cac705a
commit
42a428f8ea
@ -30,7 +30,8 @@ template:
|
||||
- fixed error in README (#195) (@andrewkcorcoran)
|
||||
- fixed compiler error when using NVCC (#198) (@thompsonnoahe)
|
||||
- fixed `noexcept(...)` sometimes being incorrectly derived on `for_each()`
|
||||
- fixed `for_each()` compilation error on GCC <= 7 (#197) (@sagi-ottopia)
|
||||
- fixed `for_each()` compilation error on GCC <= 7 (#197) (@sagi-ottopia, @damirbarr)
|
||||
- fixed `FLT_RADIX` check getting broken by Intel MKL headers (#202) (@iago-lito)
|
||||
|
||||
#### Changes:
|
||||
|
||||
|
@ -35,12 +35,15 @@ TOML_ENABLE_WARNINGS;
|
||||
"Thanks!"
|
||||
|
||||
static_assert(CHAR_BIT == 8, TOML_ENV_MESSAGE);
|
||||
#ifdef FLT_RADIX
|
||||
static_assert(FLT_RADIX == 2, TOML_ENV_MESSAGE);
|
||||
#endif
|
||||
static_assert('A' == 65, TOML_ENV_MESSAGE);
|
||||
static_assert(sizeof(double) == 8, TOML_ENV_MESSAGE);
|
||||
static_assert(std::numeric_limits<double>::is_iec559, TOML_ENV_MESSAGE);
|
||||
static_assert(std::numeric_limits<double>::digits == 53, TOML_ENV_MESSAGE);
|
||||
static_assert(std::numeric_limits<double>::digits10 == 15, TOML_ENV_MESSAGE);
|
||||
static_assert(std::numeric_limits<double>::radix == 2, TOML_ENV_MESSAGE);
|
||||
|
||||
#undef TOML_ENV_MESSAGE
|
||||
#endif // !TOML_DISABLE_ENVIRONMENT_CHECKS
|
||||
|
3
toml.hpp
3
toml.hpp
@ -1414,12 +1414,15 @@ TOML_PUSH_WARNINGS;
|
||||
"Thanks!"
|
||||
|
||||
static_assert(CHAR_BIT == 8, TOML_ENV_MESSAGE);
|
||||
#ifdef FLT_RADIX
|
||||
static_assert(FLT_RADIX == 2, TOML_ENV_MESSAGE);
|
||||
#endif
|
||||
static_assert('A' == 65, TOML_ENV_MESSAGE);
|
||||
static_assert(sizeof(double) == 8, TOML_ENV_MESSAGE);
|
||||
static_assert(std::numeric_limits<double>::is_iec559, TOML_ENV_MESSAGE);
|
||||
static_assert(std::numeric_limits<double>::digits == 53, TOML_ENV_MESSAGE);
|
||||
static_assert(std::numeric_limits<double>::digits10 == 15, TOML_ENV_MESSAGE);
|
||||
static_assert(std::numeric_limits<double>::radix == 2, TOML_ENV_MESSAGE);
|
||||
|
||||
#undef TOML_ENV_MESSAGE
|
||||
#endif // !TOML_DISABLE_ENVIRONMENT_CHECKS
|
||||
|
Loading…
Reference in New Issue
Block a user