Merge fixes from Trunk.

Fixes #2392.

Change includes of <cmath> to <boost/config/no_tr1/config.hpp>.

Previously if Boost.TR1 was in the include path then including <cmath> pulls in all the new TR1 math functions, which in turn also requires linking to an external library. With auto-linking support this requires that library to have been built and be present in the library search path, even if the actual library under use is header only. 

[SVN r49314]
This commit is contained in:
John Maddock
2008-10-13 09:00:03 +00:00
parent 96133004dd
commit 8e236cb98a

View File

@@ -24,7 +24,7 @@
#include <functional>
#include <iterator>
#include <utility>
#include <cmath>
#include <boost/config/no_tr1/cmath.hpp>
#include <cstddef>
#include <boost/intrusive/detail/assert.hpp>
#include <boost/static_assert.hpp>