Boost logo

Boost-Build :

Subject: Re: [Boost-build] Compiler warnings building Boost 1.37.0 for MacintoshOS X
From: John Maddock (john_at_[hidden])
Date: 2008-11-05 04:16:14


Doug Hill wrote:
> Hello there,
>
> I just got the latest Boost release 1.37.0. I'm attempting to build
> the libraries on a Machine with OS X 10.5.5 and XCode 3.1.1. I made
> the following change:
> - Commented out line 46 of /boost/math/tools/config.hpp
> //# define BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS

Doug, that may not be such a good idea: long double support is deliberately
disabled on Darwin because Apples strange "long double is a double double"
has enough differences from a regular real number type that not all the
tests pass. Indeed in a few cases you may even break double support by this
change. It should be possible to make things work with Darwin's long
double, but since I don't have access to that platform, I haven't been able
to do so. If you really must enable long double support on Darwin, then be
sure to run the Math lib tests to see what does and does not work with that
enabled.

HTH, John.


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk