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:00:02


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

 Replying to [comment:15 dbrake@…]:
> 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.

 Eigen does not provide m4 macros. There is a preprocessor macro
 {{{EIGEN_VERSION_AT_LEAST(x,y,z)}}} and we provide a cmake module
 FindEigen3.cmake which also checks for the version number. The latter
 should be relativly easy to adapt to any language with basic regex
 support.

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