mirror of
https://github.com/boostorg/charconv.git
synced 2026-02-09 11:02:30 +00:00
Ignore GCC 4.X -Wmissing-field-initializers
This commit is contained in:
@@ -1738,6 +1738,11 @@ struct impl : private FloatTraits, private FloatTraits::format
|
||||
return ret_value;
|
||||
}
|
||||
|
||||
#if defined(__GNUC__) && (__GNUC__ < 5) && !defined(__clang__)
|
||||
# pragma GCC diagnostic push
|
||||
# pragma GCC diagnostic ignored "-Wmissing-field-initializers"
|
||||
#endif
|
||||
|
||||
template <typename ReturnType, typename IntervalType, typename TrailingZeroPolicy,
|
||||
typename BinaryToDecimalRoundingPolicy, typename CachePolicy, typename... AdditionalArgs>
|
||||
BOOST_CHARCONV_SAFEBUFFERS static ReturnType compute_nearest_shorter(const int exponent, AdditionalArgs... additional_args) noexcept
|
||||
@@ -1799,6 +1804,10 @@ struct impl : private FloatTraits, private FloatTraits::format
|
||||
return ret_value;
|
||||
}
|
||||
|
||||
#if defined(__GNUC__) && (__GNUC__ < 5) && !defined(__clang__)
|
||||
# pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
template <class ReturnType, class TrailingZeroPolicy, class CachePolicy>
|
||||
BOOST_CHARCONV_SAFEBUFFERS static ReturnType compute_left_closed_directed(carrier_uint const two_fc, int exponent) noexcept
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user