Re: [Boost-bugs] [Boost C++ Libraries] #2597: Boost fails to build when long doubles not supported

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2597: Boost fails to build when long doubles not supported
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-12-19 02:44:05


#2597: Boost fails to build when long doubles not supported
-----------------------------+----------------------------------------------
  Reporter: smr_at_[hidden] | Owner: johnmaddock
      Type: Bugs | Status: assigned
 Milestone: Boost 1.38.0 | Component: math
   Version: Boost 1.37.0 | Severity: Problem
Resolution: | Keywords:
-----------------------------+----------------------------------------------

Comment(by smr_at_[hidden]):

 Replying to [comment:1 johnmaddock]:
> Well, this is the way of doing it automatically! Or at least the best
 we can achieve with current the Boost.Build :-(

 I've opened a discussion about this on boost-build; c.f.
 http://lists.boost.org/boost-build/2008/12/20974.php



> An alternative would be to add a <build>no property to the
 has_long_double.cpp compile test for platforms which are known to have no
 long double support. Then you wouldn't see the failure, but you would
 still see a lot of targets skipped - rightly so IMO since part of the
 library can't be built there should be at least some user warning?
>

 I agree that a warning is warranted.


> Would this be acceptable, and is there a way to detect the debian
 version within Boost.Build?

 I don't know. I guess if you can run some kind of command for this, maybe
 try running "cc -c has_long_double_support.cpp" and test for existence of
 has_long_double_support.o?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2597#comment:2>
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:49:59 UTC