File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515#include < boost/int128/climits.hpp>
1616#include < boost/int128/cstdlib.hpp>
1717
18- #ifndef BOOST_INT128_BUILD_MODULE
19- #include < boost/int128/fmt_format.hpp>
20- #endif
21-
2218#endif // BOOST_INT128_HPP
Original file line number Diff line number Diff line change 1212#include < boost/int128/int128.hpp>
1313#include < cstring>
1414#include < cstdlib>
15- #include < fmt/base.h>
16- #include < fmt/format.h>
1715#include < algorithm>
1816#include < tuple>
1917
18+ #ifdef __GNUC__
19+ # pragma GCC diagnostic push
20+ # pragma GCC diagnostic ignored "-Wconversion"
21+ # pragma GCC diagnostic ignored "-Wsign-conversion"
22+ #endif
23+
24+ #include < fmt/base.h>
25+ #include < fmt/format.h>
26+
27+ #ifdef __GNUC__
28+ # pragma GCC diagnostic pop
29+ #endif
30+
2031#define BOOST_INT128_HAS_FMT_FORMAT
2132
2233namespace boost {
Original file line number Diff line number Diff line change 55#ifndef BOOST_INT128_FORMAT_HPP
66#define BOOST_INT128_FORMAT_HPP
77
8- #if (__cplusplus >= 202002L || (defined(_MSVC_LANG) && _MSVC_LANG >= 202002L)) && \
9- ((defined (__GNUC__) && __GNUC__ >= 13 ) || (defined (__clang__) && __clang_major__ >= 18 ) || (defined (_MSC_VER) && _MSC_VER >= 1940 ))
8+ #if __has_include(<format>) && defined(__cpp_lib_format) && __cpp_lib_format >= 201907L && !defined(BOOST_DECIMAL_DISABLE_CLIB)
109
1110#include < boost/int128/detail/mini_to_chars.hpp>
1211#include < boost/int128/detail/config.hpp>
You can’t perform that action at this time.
0 commit comments