Updated boost multiprecision, and disabled deprecated declarations warning
This commit is contained in:
parent
9f739ada6a
commit
6bc7069099
31 changed files with 3656 additions and 83 deletions
|
|
@ -144,9 +144,13 @@ namespace boost { namespace multiprecision {
|
|||
#define BOOST_MP_NO_CONSTEXPR_DETECTION
|
||||
#endif
|
||||
|
||||
#ifdef __has_attribute
|
||||
# if __has_attribute(fallthrough)
|
||||
# define BOOST_MP_FALLTHROUGH [[fallthrough]]
|
||||
// Compilers should ignore unknown attributes,
|
||||
// but this doesn't stop them from issuing warnings
|
||||
#if (defined(_MSVC_LANG) && _MSVC_LANG >= 201703L) || (defined(__cplusplus) && __cplusplus >= 201703L)
|
||||
# ifdef __has_attribute
|
||||
# if __has_attribute(fallthrough)
|
||||
# define BOOST_MP_FALLTHROUGH [[fallthrough]]
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue