Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions include/boost/charconv/detail/config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,11 @@ static_assert((BOOST_CHARCONV_ENDIAN_BIG_BYTE || BOOST_CHARCONV_ENDIAN_LITTLE_BY

#define BOOST_CHARCONV_LDBL_IS_FLOAT128
#define BOOST_CHARCONV_UNSUPPORTED_LONG_DOUBLE
// This identity holds only on GCC. clang keeps long double and __float128 as distinct types
// even when both are IEEE binary128, and does not expose __float128 without -mfloat128.
#if defined(__GNUC__) && !defined(__clang__)
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");
#endif

#endif

Expand Down
Loading