Re: [Boost-bugs] [Boost C++ Libraries] #11149: boost::multiprecision compilation fail with std::max

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11149: boost::multiprecision compilation fail with std::max
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-02-18 22:27:22


#11149: boost::multiprecision compilation fail with std::max
-------------------------------+----------------------------
  Reporter: minorlogic@… | Owner: johnmaddock
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: multiprecision
   Version: Boost 1.57.0 | Severity: Showstopper
Resolution: wontfix | Keywords:
-------------------------------+----------------------------

Comment (by dbrake@…):

 Replying to [comment:18 johnmaddock]:

 I tested your patch with Boost version 1.58 and 1.59, against Eigen 3.2.7
 and 3.3-beta1, and it totally fixes the problem, both for the small
 example above, and for my project at large. I'm calling this problem
 solved. Thanks John!

 Replying to [comment:19 chtz]:

 Very good, thanks for pointing this macro out to me chtz!

 And thanks to all the generous developers who make free software possible.
 ----

 My conclusion: this bug is fixed, by any one of:

 * using 3.3-beta1 (or equivalent release) of Eigen,
 * patching Boost.Multiprecision with
 https://github.com/boostorg/multiprecision/commit/f57bd6b31a64787425ec891bd2ceb536c9036f72
 combined with the non-conforming using statements above, or
 * turning off expression templates.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11149#comment:20>
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-02-16 18:50:19 UTC