Skip to content

Commit 8a4c6b6

Browse files
committed
Make duplicated long double an unsupported type
1 parent 9441fbd commit 8a4c6b6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/boost/charconv/detail/config.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ static_assert((BOOST_CHARCONV_ENDIAN_BIG_BYTE || BOOST_CHARCONV_ENDIAN_LITTLE_BY
196196
#if (defined(__ppc64__) || defined(__PPC64__) || defined(__ppc64le__) || defined(__PPC64LE__)) && (defined(__LONG_DOUBLE_IEEE128__) || LDBL_MANT_DIG == 113)
197197

198198
#define BOOST_CHARCONV_LDBL_IS_FLOAT128
199+
#define BOOST_CHARCONV_UNSUPPORTED_LONG_DOUBLE
199200
static_assert(std::is_same<long double, __float128>::value, "__float128 should be an alias to long double. Please open an issue at: https://github.com/boostorg/charconv");
200201

201202
#endif

0 commit comments

Comments
 (0)