boostorg / multiprecision

Boost.Multiprecision
Boost Software License 1.0
188 stars 112 forks source link

'float_denorm_style' is deprecated #619

Open NAThompson opened 2 months ago

NAThompson commented 2 months ago

Compiling with clang in C++23 mode, we get the following warning:

/opt/homebrew/opt/boost@1.85/include/boost/multiprecision/cpp_bin_float.hpp:2272:11: warning: 'float_denorm_style' is deprecated [-Wdeprecated-declarations]
 2272 | constexpr float_denorm_style numeric_limits<boost::multiprecision::number<boost::multiprecision::cpp_bin_float<Digits, DigitBase, Allocator, Exponent, MinE, MaxE>, ExpressionTemplates> >::has_denorm;
      |           ^
/opt/homebrew/opt/llvm/bin/../include/c++/v1/limits:129:6: note: 'float_denorm_style' has been explicitly marked deprecated here
  129 | enum _LIBCPP_DEPRECATED_IN_CXX23 float_denorm_style {
      |      ^

Low priority obviously. . .