Re: [Boost-bugs] [Boost C++ Libraries] #13360: std::numeric_limits<multiprecision::float128> methods fail to compile in C++11 mode

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #13360: std::numeric_limits<multiprecision::float128> methods fail to compile in C++11 mode
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-12-25 19:25:35


#13360: std::numeric_limits<multiprecision::float128> methods fail to compile in
C++11 mode
-------------------------------+----------------------------
  Reporter: b7.10110111@… | Owner: John Maddock
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: multiprecision
   Version: Boost 1.66.0 | Severity: Regression
Resolution: | Keywords:
-------------------------------+----------------------------

Comment (by John Maddock):

 This is the by-product of fixing other issues, and I don't think we can
 fix it, except to say that using -std=gnu++11 works just fine.

 The issue is that __float128 literals are disabled with -std=c++11 but not
 -std=c++03 or -std=gnu++11. We can detect the -std=gnu++11 case and
 enable __float128 support in that situation, but we can't detect that
 -fext-numeric-literals has been used with std=c++11 so __float128 support
 is disabled in the library.

 I'll look into trying to support this case with more config macros, but it
 might be easier to just issue better error messages when including the
 header in this situation.

 Merry Christmas!

-- 
Ticket URL: <https://svn.boost.org/trac10/boost/ticket/13360#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-12-25 19:31:34 UTC