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-17 19:47:55


#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:14 chtz@…]:

 i checked out the eigen develop 3.3-beta1 code, and confirm that this
 issue is fixed, with no need for the min/max that John Maddock provided in
 comment 6. comment 6 does still resolve the problem for min/max'ing with
 et_on not in the context of eigen.

 a workaround for me might consist of providing a compile-time configure
 option for my library for turning off the expression templates for
 Boost.Multiprecision. if they are on, require a minimum version of eigen.
 otherwise, let it ride with any version 3.2 or later. i have an m4 macro
 for autoconf which finds eigen (does eigen provide such a macro? i didn't
 find one), and the et_on/off requirement could be written into the call.

 any thoughts?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11149#comment:15>
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