SHA256
8
0
forked from pool/boost
Files
boost/boost-charconv-quadmath.patch
Arvin Schnell 96fda668a8 Accepting request 1169851 from home:aschnell:boost
- update to 1.85.0
  * new libraries:
    + charconv (implementation of <charconv>)
    + scope (collection of scope guard utilities)
  * for details on all changes see,
    https://www.boost.org/users/history/version_1_85_0.html
- dynamic_linking.patch: updated
- boost-charconv-quadmath.patch: added

OBS-URL: https://build.opensuse.org/request/show/1169851
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/boost?expand=0&rev=326
2024-04-23 12:42:16 +00:00

18 lines
746 B
Diff

The quadmath detection is broken, see https://github.com/boostorg/charconv/issues/191.
Just disable quadmath.
--- a/boost/charconv/detail/config.hpp 2024-04-23 11:38:55.099806792 +0200
+++ b/boost/charconv/detail/config.hpp 2024-04-23 11:39:01.966514420 +0200
@@ -27,11 +27,6 @@
# define BOOST_CHARCONV_UINT128_MAX (2 * static_cast<boost::uint128_type>(BOOST_CHARCONV_INT128_MAX) + 1)
#endif
-#if defined(BOOST_HAS_FLOAT128) && !defined(__STRICT_ANSI__) && !defined(BOOST_CHARCONV_NO_QUADMATH)
-# define BOOST_CHARCONV_HAS_FLOAT128
-# include <quadmath.h>
-#endif
-
#ifndef BOOST_NO_CXX14_CONSTEXPR
# define BOOST_CHARCONV_CXX14_CONSTEXPR BOOST_CXX14_CONSTEXPR
# define BOOST_CHARCONV_CXX14_CONSTEXPR_NO_INLINE BOOST_CXX14_CONSTEXPR