Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r49314 - in branches/release/boost: . accumulators/statistics archive date_time/posix_time functional/detail gil graph interprocess/allocators/detail intrusive numeric/conversion numeric/interval numeric/interval/detail numeric/ublas pending random spirit/home/classic/core/primitives/impl spirit/home/karma/numeric spirit/home/karma/numeric/detail spirit/home/qi/numeric/detail spirit/home/support/detail/math tr1 units units/detail units/systems/angle units/systems/detail unordered/detail
From: john_at_[hidden]
Date: 2008-10-13 05:00:08


Author: johnmaddock
Date: 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
New Revision: 49314
URL: http://svn.boost.org/trac/boost/changeset/49314

Log:
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.
Text files modified:
   branches/release/boost/accumulators/statistics/moment.hpp | 2 +-
   branches/release/boost/accumulators/statistics/peaks_over_threshold.hpp | 2 +-
   branches/release/boost/accumulators/statistics/tail_quantile.hpp | 2 +-
   branches/release/boost/accumulators/statistics/weighted_moment.hpp | 2 +-
   branches/release/boost/archive/basic_text_oprimitive.hpp | 2 +-
   branches/release/boost/date_time/posix_time/posix_time_config.hpp | 2 +-
   branches/release/boost/functional/detail/float_functions.hpp | 2 +-
   branches/release/boost/gil/utilities.hpp | 2 +-
   branches/release/boost/graph/circle_layout.hpp | 2 +-
   branches/release/boost/graph/erdos_renyi_generator.hpp | 2 +-
   branches/release/boost/graph/fruchterman_reingold.hpp | 2 +-
   branches/release/boost/graph/gursoy_atun_layout.hpp | 2 +-
   branches/release/boost/graph/kamada_kawai_spring_layout.hpp | 2 +-
   branches/release/boost/graph/plod_generator.hpp | 2 +-
   branches/release/boost/graph/wavefront.hpp | 2 +-
   branches/release/boost/interprocess/allocators/detail/adaptive_node_pool.hpp | 2 +-
   branches/release/boost/intrusive/sgtree.hpp | 2 +-
   branches/release/boost/nondet_random.hpp | 2 +-
   branches/release/boost/numeric/conversion/converter_policies.hpp | 2 +-
   branches/release/boost/numeric/interval/arith2.hpp | 2 +-
   branches/release/boost/numeric/interval/detail/bugs.hpp | 2 +-
   branches/release/boost/numeric/interval/rounded_arith.hpp | 2 +-
   branches/release/boost/numeric/interval/rounded_transc.hpp | 2 +-
   branches/release/boost/numeric/ublas/traits.hpp | 2 +-
   branches/release/boost/pending/fibonacci_heap.hpp | 2 +-
   branches/release/boost/random/binomial_distribution.hpp | 2 +-
   branches/release/boost/random/cauchy_distribution.hpp | 2 +-
   branches/release/boost/random/exponential_distribution.hpp | 2 +-
   branches/release/boost/random/gamma_distribution.hpp | 2 +-
   branches/release/boost/random/geometric_distribution.hpp | 2 +-
   branches/release/boost/random/lagged_fibonacci.hpp | 4 ++--
   branches/release/boost/random/lognormal_distribution.hpp | 2 +-
   branches/release/boost/random/normal_distribution.hpp | 2 +-
   branches/release/boost/random/poisson_distribution.hpp | 2 +-
   branches/release/boost/random/subtract_with_carry.hpp | 4 ++--
   branches/release/boost/random/triangle_distribution.hpp | 2 +-
   branches/release/boost/spirit/home/classic/core/primitives/impl/numerics.ipp | 2 +-
   branches/release/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp | 2 +-
   branches/release/boost/spirit/home/karma/numeric/real.hpp | 2 +-
   branches/release/boost/spirit/home/karma/numeric/real_policies.hpp | 2 +-
   branches/release/boost/spirit/home/qi/numeric/detail/real_impl.hpp | 2 +-
   branches/release/boost/spirit/home/support/detail/math/fpclassify.hpp | 2 +-
   branches/release/boost/tr1/complex.hpp | 2 +-
   branches/release/boost/units/cmath.hpp | 2 +-
   branches/release/boost/units/detail/cmath_boost_1_35.hpp | 2 +-
   branches/release/boost/units/detail/cmath_gnu_impl.hpp | 2 +-
   branches/release/boost/units/detail/cmath_gnu_impl_boost_1_35.hpp | 2 +-
   branches/release/boost/units/detail/cmath_msvc_impl.hpp | 2 +-
   branches/release/boost/units/detail/cmath_msvc_impl_boost_1_35.hpp | 2 +-
   branches/release/boost/units/detail/cmath_mwcw_impl.hpp | 2 +-
   branches/release/boost/units/detail/cmath_mwcw_impl_boost_1_35.hpp | 2 +-
   branches/release/boost/units/detail/static_rational_power.hpp | 2 +-
   branches/release/boost/units/systems/angle/degrees.hpp | 2 +-
   branches/release/boost/units/systems/angle/gradians.hpp | 2 +-
   branches/release/boost/units/systems/angle/revolutions.hpp | 2 +-
   branches/release/boost/units/systems/detail/constants.hpp | 2 +-
   branches/release/boost/unordered/detail/hash_table.hpp | 2 +-
   57 files changed, 59 insertions(+), 59 deletions(-)

Modified: branches/release/boost/accumulators/statistics/moment.hpp
==============================================================================
--- branches/release/boost/accumulators/statistics/moment.hpp (original)
+++ branches/release/boost/accumulators/statistics/moment.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -8,7 +8,7 @@
 #ifndef BOOST_ACCUMULATORS_STATISTICS_MOMENT_HPP_EAN_15_11_2005
 #define BOOST_ACCUMULATORS_STATISTICS_MOMENT_HPP_EAN_15_11_2005
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <boost/mpl/int.hpp>
 #include <boost/mpl/assert.hpp>
 #include <boost/mpl/placeholders.hpp>

Modified: branches/release/boost/accumulators/statistics/peaks_over_threshold.hpp
==============================================================================
--- branches/release/boost/accumulators/statistics/peaks_over_threshold.hpp (original)
+++ branches/release/boost/accumulators/statistics/peaks_over_threshold.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -12,7 +12,7 @@
 #include <limits>
 #include <numeric>
 #include <functional>
-#include <cmath> // pow
+#include <boost/config/no_tr1/cmath.hpp> // pow
 #include <sstream> // stringstream
 #include <stdexcept> // runtime_error
 #include <boost/throw_exception.hpp>

Modified: branches/release/boost/accumulators/statistics/tail_quantile.hpp
==============================================================================
--- branches/release/boost/accumulators/statistics/tail_quantile.hpp (original)
+++ branches/release/boost/accumulators/statistics/tail_quantile.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -13,7 +13,7 @@
 #include <functional>
 #include <sstream>
 #include <stdexcept>
-#include <cmath> // For ceil
+#include <boost/config/no_tr1/cmath.hpp> // For ceil
 #include <boost/throw_exception.hpp>
 #include <boost/parameter/keyword.hpp>
 #include <boost/mpl/placeholders.hpp>

Modified: branches/release/boost/accumulators/statistics/weighted_moment.hpp
==============================================================================
--- branches/release/boost/accumulators/statistics/weighted_moment.hpp (original)
+++ branches/release/boost/accumulators/statistics/weighted_moment.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -8,7 +8,7 @@
 #ifndef BOOST_ACCUMULATORS_STATISTICS_WEIGHTED_MOMENT_HPP_EAN_15_11_2005
 #define BOOST_ACCUMULATORS_STATISTICS_WEIGHTED_MOMENT_HPP_EAN_15_11_2005
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <boost/mpl/int.hpp>
 #include <boost/mpl/assert.hpp>
 #include <boost/mpl/placeholders.hpp>

Modified: branches/release/boost/archive/basic_text_oprimitive.hpp
==============================================================================
--- branches/release/boost/archive/basic_text_oprimitive.hpp (original)
+++ branches/release/boost/archive/basic_text_oprimitive.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -26,7 +26,7 @@
 
 #include <iomanip>
 #include <locale>
-#include <cmath> // isnan
+#include <boost/config/no_tr1/cmath.hpp> // isnan
 #include <cassert>
 #include <cstddef> // size_t
 

Modified: branches/release/boost/date_time/posix_time/posix_time_config.hpp
==============================================================================
--- branches/release/boost/date_time/posix_time/posix_time_config.hpp (original)
+++ branches/release/boost/date_time/posix_time/posix_time_config.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -16,7 +16,7 @@
 #include "boost/limits.hpp"
 #include "boost/date_time/compiler_config.hpp"
 #include "boost/cstdint.hpp"
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <cstdlib> //for MCW 7.2 std::abs(long long)
 
 namespace boost {

Modified: branches/release/boost/functional/detail/float_functions.hpp
==============================================================================
--- branches/release/boost/functional/detail/float_functions.hpp (original)
+++ branches/release/boost/functional/detail/float_functions.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -6,7 +6,7 @@
 #if !defined(BOOST_FUNCTIONAL_DETAIL_FLOAT_FUNCTIONS_HPP)
 #define BOOST_FUNCTIONAL_DETAIL_FLOAT_FUNCTIONS_HPP
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
 # pragma once

Modified: branches/release/boost/gil/utilities.hpp
==============================================================================
--- branches/release/boost/gil/utilities.hpp (original)
+++ branches/release/boost/gil/utilities.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -15,7 +15,7 @@
 
 #include "gil_config.hpp"
 #include <functional>
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <cstddef>
 #include <algorithm>
 #include <utility>

Modified: branches/release/boost/graph/circle_layout.hpp
==============================================================================
--- branches/release/boost/graph/circle_layout.hpp (original)
+++ branches/release/boost/graph/circle_layout.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -8,7 +8,7 @@
 // Andrew Lumsdaine
 #ifndef BOOST_GRAPH_CIRCLE_LAYOUT_HPP
 #define BOOST_GRAPH_CIRCLE_LAYOUT_HPP
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <utility>
 #include <boost/graph/graph_traits.hpp>
 

Modified: branches/release/boost/graph/erdos_renyi_generator.hpp
==============================================================================
--- branches/release/boost/graph/erdos_renyi_generator.hpp (original)
+++ branches/release/boost/graph/erdos_renyi_generator.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -19,7 +19,7 @@
 #include <boost/random/geometric_distribution.hpp>
 #include <boost/type_traits/is_base_and_derived.hpp>
 #include <boost/type_traits/is_same.hpp>
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 namespace boost {
 

Modified: branches/release/boost/graph/fruchterman_reingold.hpp
==============================================================================
--- branches/release/boost/graph/fruchterman_reingold.hpp (original)
+++ branches/release/boost/graph/fruchterman_reingold.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -9,7 +9,7 @@
 #ifndef BOOST_GRAPH_FRUCHTERMAN_REINGOLD_FORCE_DIRECTED_LAYOUT_HPP
 #define BOOST_GRAPH_FRUCHTERMAN_REINGOLD_FORCE_DIRECTED_LAYOUT_HPP
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <boost/graph/graph_traits.hpp>
 #include <boost/graph/named_function_params.hpp>
 #include <boost/graph/simple_point.hpp>

Modified: branches/release/boost/graph/gursoy_atun_layout.hpp
==============================================================================
--- branches/release/boost/graph/gursoy_atun_layout.hpp (original)
+++ branches/release/boost/graph/gursoy_atun_layout.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -15,7 +15,7 @@
 // in EuroPar 2000, p. 234 of LNCS 1900
 // http://springerlink.metapress.com/link.asp?id=pcu07ew5rhexp9yt
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <vector>
 #include <exception>
 #include <algorithm>

Modified: branches/release/boost/graph/kamada_kawai_spring_layout.hpp
==============================================================================
--- branches/release/boost/graph/kamada_kawai_spring_layout.hpp (original)
+++ branches/release/boost/graph/kamada_kawai_spring_layout.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -16,7 +16,7 @@
 #include <iterator>
 #include <vector>
 #include <boost/limits.hpp>
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 namespace boost {
   namespace detail { namespace graph {

Modified: branches/release/boost/graph/plod_generator.hpp
==============================================================================
--- branches/release/boost/graph/plod_generator.hpp (original)
+++ branches/release/boost/graph/plod_generator.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -16,7 +16,7 @@
 #include <boost/graph/graph_traits.hpp>
 #include <vector>
 #include <map>
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 namespace boost {
 

Modified: branches/release/boost/graph/wavefront.hpp
==============================================================================
--- branches/release/boost/graph/wavefront.hpp (original)
+++ branches/release/boost/graph/wavefront.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -16,7 +16,7 @@
 #include <boost/graph/graph_traits.hpp>
 #include <boost/detail/numeric_traits.hpp>
 #include <boost/graph/bandwidth.hpp>
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <vector>
 #include <algorithm> // for std::min and std::max
 

Modified: branches/release/boost/interprocess/allocators/detail/adaptive_node_pool.hpp
==============================================================================
--- branches/release/boost/interprocess/allocators/detail/adaptive_node_pool.hpp (original)
+++ branches/release/boost/interprocess/allocators/detail/adaptive_node_pool.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -30,7 +30,7 @@
 #include <boost/interprocess/allocators/detail/node_tools.hpp>
 #include <boost/interprocess/allocators/detail/allocator_common.hpp>
 #include <cstddef>
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <cassert>
 
 //!\file

Modified: branches/release/boost/intrusive/sgtree.hpp
==============================================================================
--- branches/release/boost/intrusive/sgtree.hpp (original)
+++ branches/release/boost/intrusive/sgtree.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -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>

Modified: branches/release/boost/nondet_random.hpp
==============================================================================
--- branches/release/boost/nondet_random.hpp (original)
+++ branches/release/boost/nondet_random.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -19,7 +19,7 @@
 
 #include <string> // std::abs
 #include <algorithm> // std::min
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <boost/config.hpp>
 #include <boost/utility.hpp> // noncopyable
 #include <boost/integer_traits.hpp> // compile-time integral limits

Modified: branches/release/boost/numeric/conversion/converter_policies.hpp
==============================================================================
--- branches/release/boost/numeric/conversion/converter_policies.hpp (original)
+++ branches/release/boost/numeric/conversion/converter_policies.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -12,7 +12,7 @@
 
 #include <typeinfo> // for std::bad_cast
 
-#include <cmath> // for std::floor and std::ceil
+#include <boost/config/no_tr1/cmath.hpp> // for std::floor and std::ceil
 
 #include <functional>
 

Modified: branches/release/boost/numeric/interval/arith2.hpp
==============================================================================
--- branches/release/boost/numeric/interval/arith2.hpp (original)
+++ branches/release/boost/numeric/interval/arith2.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -23,7 +23,7 @@
 #include <boost/numeric/interval/policies.hpp>
 #include <algorithm>
 #include <cassert>
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 namespace boost {
 namespace numeric {

Modified: branches/release/boost/numeric/interval/detail/bugs.hpp
==============================================================================
--- branches/release/boost/numeric/interval/detail/bugs.hpp (original)
+++ branches/release/boost/numeric/interval/detail/bugs.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -48,7 +48,7 @@
 #if defined(__GNUC__) && (__GNUC__ <= 2)
 // cf PR c++/1981 for a description of the bug
 #include <algorithm>
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 namespace boost {
 namespace numeric {
   using std::min;

Modified: branches/release/boost/numeric/interval/rounded_arith.hpp
==============================================================================
--- branches/release/boost/numeric/interval/rounded_arith.hpp (original)
+++ branches/release/boost/numeric/interval/rounded_arith.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -12,7 +12,7 @@
 
 #include <boost/numeric/interval/rounding.hpp>
 #include <boost/numeric/interval/detail/bugs.hpp>
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 namespace boost {
 namespace numeric {

Modified: branches/release/boost/numeric/interval/rounded_transc.hpp
==============================================================================
--- branches/release/boost/numeric/interval/rounded_transc.hpp (original)
+++ branches/release/boost/numeric/interval/rounded_transc.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -12,7 +12,7 @@
 
 #include <boost/numeric/interval/rounding.hpp>
 #include <boost/numeric/interval/detail/bugs.hpp>
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 namespace boost {
 namespace numeric {

Modified: branches/release/boost/numeric/ublas/traits.hpp
==============================================================================
--- branches/release/boost/numeric/ublas/traits.hpp (original)
+++ branches/release/boost/numeric/ublas/traits.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -15,7 +15,7 @@
 
 #include <iterator>
 #include <complex>
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 #include <boost/numeric/ublas/detail/config.hpp>
 #include <boost/numeric/ublas/detail/iterator.hpp>

Modified: branches/release/boost/pending/fibonacci_heap.hpp
==============================================================================
--- branches/release/boost/pending/fibonacci_heap.hpp (original)
+++ branches/release/boost/pending/fibonacci_heap.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -8,7 +8,7 @@
 #if defined(__sgi) && !defined(__GNUC__)
 # include <math.h>
 #else
-# include <cmath>
+# include <boost/config/no_tr1/cmath.hpp>
 #endif
 #include <iosfwd>
 #include <vector>

Modified: branches/release/boost/random/binomial_distribution.hpp
==============================================================================
--- branches/release/boost/random/binomial_distribution.hpp (original)
+++ branches/release/boost/random/binomial_distribution.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -14,7 +14,7 @@
 #ifndef BOOST_RANDOM_BINOMIAL_DISTRIBUTION_HPP
 #define BOOST_RANDOM_BINOMIAL_DISTRIBUTION_HPP
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <cassert>
 #include <boost/random/bernoulli_distribution.hpp>
 

Modified: branches/release/boost/random/cauchy_distribution.hpp
==============================================================================
--- branches/release/boost/random/cauchy_distribution.hpp (original)
+++ branches/release/boost/random/cauchy_distribution.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -16,7 +16,7 @@
 #ifndef BOOST_RANDOM_CAUCHY_DISTRIBUTION_HPP
 #define BOOST_RANDOM_CAUCHY_DISTRIBUTION_HPP
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <iostream>
 #include <boost/limits.hpp>
 #include <boost/static_assert.hpp>

Modified: branches/release/boost/random/exponential_distribution.hpp
==============================================================================
--- branches/release/boost/random/exponential_distribution.hpp (original)
+++ branches/release/boost/random/exponential_distribution.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -16,7 +16,7 @@
 #ifndef BOOST_RANDOM_EXPONENTIAL_DISTRIBUTION_HPP
 #define BOOST_RANDOM_EXPONENTIAL_DISTRIBUTION_HPP
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <cassert>
 #include <iostream>
 #include <boost/limits.hpp>

Modified: branches/release/boost/random/gamma_distribution.hpp
==============================================================================
--- branches/release/boost/random/gamma_distribution.hpp (original)
+++ branches/release/boost/random/gamma_distribution.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -14,7 +14,7 @@
 #ifndef BOOST_RANDOM_GAMMA_DISTRIBUTION_HPP
 #define BOOST_RANDOM_GAMMA_DISTRIBUTION_HPP
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <cassert>
 #include <boost/limits.hpp>
 #include <boost/static_assert.hpp>

Modified: branches/release/boost/random/geometric_distribution.hpp
==============================================================================
--- branches/release/boost/random/geometric_distribution.hpp (original)
+++ branches/release/boost/random/geometric_distribution.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -16,7 +16,7 @@
 #ifndef BOOST_RANDOM_GEOMETRIC_DISTRIBUTION_HPP
 #define BOOST_RANDOM_GEOMETRIC_DISTRIBUTION_HPP
 
-#include <cmath> // std::log
+#include <boost/config/no_tr1/cmath.hpp> // std::log
 #include <cassert>
 #include <iostream>
 #include <boost/random/uniform_01.hpp>

Modified: branches/release/boost/random/lagged_fibonacci.hpp
==============================================================================
--- branches/release/boost/random/lagged_fibonacci.hpp (original)
+++ branches/release/boost/random/lagged_fibonacci.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -16,11 +16,11 @@
 #ifndef BOOST_RANDOM_LAGGED_FIBONACCI_HPP
 #define BOOST_RANDOM_LAGGED_FIBONACCI_HPP
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <iostream>
 #include <algorithm> // std::max
 #include <iterator>
-#include <cmath> // std::pow
+#include <boost/config/no_tr1/cmath.hpp> // std::pow
 #include <boost/config.hpp>
 #include <boost/limits.hpp>
 #include <boost/cstdint.hpp>

Modified: branches/release/boost/random/lognormal_distribution.hpp
==============================================================================
--- branches/release/boost/random/lognormal_distribution.hpp (original)
+++ branches/release/boost/random/lognormal_distribution.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -16,7 +16,7 @@
 #ifndef BOOST_RANDOM_LOGNORMAL_DISTRIBUTION_HPP
 #define BOOST_RANDOM_LOGNORMAL_DISTRIBUTION_HPP
 
-#include <cmath> // std::exp, std::sqrt
+#include <boost/config/no_tr1/cmath.hpp> // std::exp, std::sqrt
 #include <cassert>
 #include <iostream>
 #include <boost/limits.hpp>

Modified: branches/release/boost/random/normal_distribution.hpp
==============================================================================
--- branches/release/boost/random/normal_distribution.hpp (original)
+++ branches/release/boost/random/normal_distribution.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -16,7 +16,7 @@
 #ifndef BOOST_RANDOM_NORMAL_DISTRIBUTION_HPP
 #define BOOST_RANDOM_NORMAL_DISTRIBUTION_HPP
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <cassert>
 #include <iostream>
 #include <boost/limits.hpp>

Modified: branches/release/boost/random/poisson_distribution.hpp
==============================================================================
--- branches/release/boost/random/poisson_distribution.hpp (original)
+++ branches/release/boost/random/poisson_distribution.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -14,7 +14,7 @@
 #ifndef BOOST_RANDOM_POISSON_DISTRIBUTION_HPP
 #define BOOST_RANDOM_POISSON_DISTRIBUTION_HPP
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <cassert>
 #include <iostream>
 #include <boost/limits.hpp>

Modified: branches/release/boost/random/subtract_with_carry.hpp
==============================================================================
--- branches/release/boost/random/subtract_with_carry.hpp (original)
+++ branches/release/boost/random/subtract_with_carry.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -16,11 +16,11 @@
 #ifndef BOOST_RANDOM_SUBTRACT_WITH_CARRY_HPP
 #define BOOST_RANDOM_SUBTRACT_WITH_CARRY_HPP
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <iostream>
 #include <algorithm> // std::equal
 #include <stdexcept>
-#include <cmath> // std::pow
+#include <boost/config/no_tr1/cmath.hpp> // std::pow
 #include <boost/config.hpp>
 #include <boost/limits.hpp>
 #include <boost/cstdint.hpp>

Modified: branches/release/boost/random/triangle_distribution.hpp
==============================================================================
--- branches/release/boost/random/triangle_distribution.hpp (original)
+++ branches/release/boost/random/triangle_distribution.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -16,7 +16,7 @@
 #ifndef BOOST_RANDOM_TRIANGLE_DISTRIBUTION_HPP
 #define BOOST_RANDOM_TRIANGLE_DISTRIBUTION_HPP
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <cassert>
 #include <boost/random/uniform_01.hpp>
 

Modified: branches/release/boost/spirit/home/classic/core/primitives/impl/numerics.ipp
==============================================================================
--- branches/release/boost/spirit/home/classic/core/primitives/impl/numerics.ipp (original)
+++ branches/release/boost/spirit/home/classic/core/primitives/impl/numerics.ipp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -10,7 +10,7 @@
 #ifndef BOOST_SPIRIT_NUMERICS_IPP
 #define BOOST_SPIRIT_NUMERICS_IPP
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <limits>
 
 namespace boost { namespace spirit {

Modified: branches/release/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp
==============================================================================
--- branches/release/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp (original)
+++ branches/release/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -10,7 +10,7 @@
 #pragma once // MS compatible compilers support #pragma once
 #endif
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <limits>
 
 #include <boost/type_traits/is_integral.hpp>

Modified: branches/release/boost/spirit/home/karma/numeric/real.hpp
==============================================================================
--- branches/release/boost/spirit/home/karma/numeric/real.hpp (original)
+++ branches/release/boost/spirit/home/karma/numeric/real.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -18,7 +18,7 @@
 #include <boost/spirit/home/karma/char.hpp>
 #include <boost/spirit/home/karma/numeric/int.hpp>
 #include <boost/spirit/home/karma/numeric/detail/numeric_utils.hpp>
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 namespace boost { namespace spirit { namespace karma
 {

Modified: branches/release/boost/spirit/home/karma/numeric/real_policies.hpp
==============================================================================
--- branches/release/boost/spirit/home/karma/numeric/real_policies.hpp (original)
+++ branches/release/boost/spirit/home/karma/numeric/real_policies.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -14,7 +14,7 @@
 #include <boost/spirit/home/karma/generate.hpp>
 #include <boost/spirit/home/karma/char.hpp>
 #include <boost/spirit/home/karma/numeric/int.hpp>
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <boost/spirit/home/support/detail/math/fpclassify.hpp>
 
 namespace boost { namespace spirit { namespace karma

Modified: branches/release/boost/spirit/home/qi/numeric/detail/real_impl.hpp
==============================================================================
--- branches/release/boost/spirit/home/qi/numeric/detail/real_impl.hpp (original)
+++ branches/release/boost/spirit/home/qi/numeric/detail/real_impl.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -9,7 +9,7 @@
 #if !defined(SPIRIT_REAL_IMPL_APR_18_2006_0901AM)
 #define SPIRIT_REAL_IMPL_APR_18_2006_0901AM
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <boost/type_traits/is_same.hpp>
 #include <boost/spirit/home/support/unused.hpp>
 

Modified: branches/release/boost/spirit/home/support/detail/math/fpclassify.hpp
==============================================================================
--- branches/release/boost/spirit/home/support/detail/math/fpclassify.hpp (original)
+++ branches/release/boost/spirit/home/support/detail/math/fpclassify.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -38,7 +38,7 @@
 depending on whether all the mantissa bits are copied or not.
 */
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 #ifndef FP_INFINITE
 # define FP_INFINITE 0

Modified: branches/release/boost/tr1/complex.hpp
==============================================================================
--- branches/release/boost/tr1/complex.hpp (original)
+++ branches/release/boost/tr1/complex.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -41,7 +41,7 @@
 #include <boost/tr1/detail/math_overloads.hpp>
 #include <boost/assert.hpp>
 #include <boost/detail/workaround.hpp>
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 namespace std{
 

Modified: branches/release/boost/units/cmath.hpp
==============================================================================
--- branches/release/boost/units/cmath.hpp (original)
+++ branches/release/boost/units/cmath.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -19,7 +19,7 @@
     #include <boost/units/detail/cmath_boost_1_35.hpp>
 #else
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <cstdlib>
 
 #include <boost/math/special_functions/fpclassify.hpp>

Modified: branches/release/boost/units/detail/cmath_boost_1_35.hpp
==============================================================================
--- branches/release/boost/units/detail/cmath_boost_1_35.hpp (original)
+++ branches/release/boost/units/detail/cmath_boost_1_35.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -11,7 +11,7 @@
 #ifndef BOOST_UNITS_CMATH_BOOST_1_35_HPP
 #define BOOST_UNITS_CMATH_BOOST_1_35_HPP
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <cstdlib>
 
 #include <boost/units/dimensionless_quantity.hpp>

Modified: branches/release/boost/units/detail/cmath_gnu_impl.hpp
==============================================================================
--- branches/release/boost/units/detail/cmath_gnu_impl.hpp (original)
+++ branches/release/boost/units/detail/cmath_gnu_impl.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -13,7 +13,7 @@
 
 #if (__GNUC__ && __cplusplus && __GNUC__ >= 3)
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 namespace boost {
 

Modified: branches/release/boost/units/detail/cmath_gnu_impl_boost_1_35.hpp
==============================================================================
--- branches/release/boost/units/detail/cmath_gnu_impl_boost_1_35.hpp (original)
+++ branches/release/boost/units/detail/cmath_gnu_impl_boost_1_35.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -13,7 +13,7 @@
 
 #if (__GNUC__ && __cplusplus && __GNUC__ >= 3)
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 namespace boost {
 

Modified: branches/release/boost/units/detail/cmath_msvc_impl.hpp
==============================================================================
--- branches/release/boost/units/detail/cmath_msvc_impl.hpp (original)
+++ branches/release/boost/units/detail/cmath_msvc_impl.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -16,7 +16,7 @@
 #if defined(BOOST_MSVC) || (defined(__COMO__) && defined(_MSC_VER))
 
 #include <cfloat>
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 #include <boost/static_warning.hpp>
 #include <boost/math/special_functions/round.hpp>

Modified: branches/release/boost/units/detail/cmath_msvc_impl_boost_1_35.hpp
==============================================================================
--- branches/release/boost/units/detail/cmath_msvc_impl_boost_1_35.hpp (original)
+++ branches/release/boost/units/detail/cmath_msvc_impl_boost_1_35.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -16,7 +16,7 @@
 #if defined(BOOST_MSVC) || (defined(__COMO__) && defined(_MSC_VER))
 
 #include <cfloat>
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 #include <boost/static_warning.hpp>
 #include <boost/mpl/bool.hpp>

Modified: branches/release/boost/units/detail/cmath_mwcw_impl.hpp
==============================================================================
--- branches/release/boost/units/detail/cmath_mwcw_impl.hpp (original)
+++ branches/release/boost/units/detail/cmath_mwcw_impl.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -13,7 +13,7 @@
 
 #if __MWERKS__
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 #include <boost/config.hpp>
 

Modified: branches/release/boost/units/detail/cmath_mwcw_impl_boost_1_35.hpp
==============================================================================
--- branches/release/boost/units/detail/cmath_mwcw_impl_boost_1_35.hpp (original)
+++ branches/release/boost/units/detail/cmath_mwcw_impl_boost_1_35.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -13,7 +13,7 @@
 
 #if __MWERKS__
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 // BOOST_PREVENT_MACRO_SUBSTITUTION is used for all functions even though it
 // isn't necessary -- I didn't want to think :)

Modified: branches/release/boost/units/detail/static_rational_power.hpp
==============================================================================
--- branches/release/boost/units/detail/static_rational_power.hpp (original)
+++ branches/release/boost/units/detail/static_rational_power.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -11,7 +11,7 @@
 #ifndef BOOST_UNITS_DETAIL_STATIC_RATIONAL_POWER_HPP
 #define BOOST_UNITS_DETAIL_STATIC_RATIONAL_POWER_HPP
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 #include <boost/units/detail/one.hpp>
 #include <boost/units/operators.hpp>

Modified: branches/release/boost/units/systems/angle/degrees.hpp
==============================================================================
--- branches/release/boost/units/systems/angle/degrees.hpp (original)
+++ branches/release/boost/units/systems/angle/degrees.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -11,7 +11,7 @@
 #ifndef BOOST_UNITS_ANGLE_DEGREE_HPP
 #define BOOST_UNITS_ANGLE_DEGREE_HPP
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 #include <boost/units/conversion.hpp>
 #include <boost/units/io.hpp>

Modified: branches/release/boost/units/systems/angle/gradians.hpp
==============================================================================
--- branches/release/boost/units/systems/angle/gradians.hpp (original)
+++ branches/release/boost/units/systems/angle/gradians.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -11,7 +11,7 @@
 #ifndef BOOST_UNITS_ANGLE_GRADIANS_HPP
 #define BOOST_UNITS_ANGLE_GRADIANS_HPP
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 #include <boost/units/conversion.hpp>
 #include <boost/units/io.hpp>

Modified: branches/release/boost/units/systems/angle/revolutions.hpp
==============================================================================
--- branches/release/boost/units/systems/angle/revolutions.hpp (original)
+++ branches/release/boost/units/systems/angle/revolutions.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -11,7 +11,7 @@
 #ifndef BOOST_UNITS_ANGLE_REVOLUTIONS_HPP
 #define BOOST_UNITS_ANGLE_REVOLUTIONS_HPP
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 #include <boost/units/conversion.hpp>
 #include <boost/units/io.hpp>

Modified: branches/release/boost/units/systems/detail/constants.hpp
==============================================================================
--- branches/release/boost/units/systems/detail/constants.hpp (original)
+++ branches/release/boost/units/systems/detail/constants.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -11,7 +11,7 @@
 #ifndef BOOST_UNITS_CONSTANTS_HPP
 #define BOOST_UNITS_CONSTANTS_HPP
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <iosfwd>
 #include <iomanip>
 

Modified: branches/release/boost/unordered/detail/hash_table.hpp
==============================================================================
--- branches/release/boost/unordered/detail/hash_table.hpp (original)
+++ branches/release/boost/unordered/detail/hash_table.hpp 2008-10-13 05:00:03 EDT (Mon, 13 Oct 2008)
@@ -14,7 +14,7 @@
 #include <boost/config.hpp>
 
 #include <cstddef>
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <algorithm>
 #include <utility>
 #include <stdexcept>


Boost-Commit 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