Opened 14 years ago
Closed 14 years ago
#2631 closed Bugs (fixed)
Math don't compile with STLport 5.2.1
Reported by: | Andrey Semashev | Owned by: | John Maddock |
---|---|---|---|
Milestone: | Boost 1.38.0 | Component: | math |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | math fpclassify STLport | Cc: |
Description
While compiling Boost.Math with STLport on Linux (GCC 4.3.2) I get the following errors:
gcc.compile.c++ bin.v2/libs/math/build/gcc-4.3.2/release/stdlib-stlport/threading-multi/sph_legendre.o In file included from ./boost/math/special_functions/trunc.hpp:15, from ./boost/math/special_functions/gamma.hpp:35, from ./boost/math/special_functions/factorials.hpp:13, from ./boost/math/special_functions/legendre.hpp:15, from ./boost/math/special_functions/spherical_harmonic.hpp:14, from libs/math/build/../src/tr1/sph_legendre.cpp:8: ./boost/math/special_functions/fpclassify.hpp: In function ‘bool boost::math_detail::is_nan_helper(T, const boost::true_type&)’: ./boost/math/special_functions/fpclassify.hpp:98: error: ‘fpclassify’ is not a member of ‘stlp_std’ ./boost/math/special_functions/fpclassify.hpp: In function ‘int boost::math::detail::fpclassify_imp(T, const boost::math::detail::native_tag&)’: ./boost/math/special_functions/fpclassify.hpp:120: error: ‘fpclassify’ is not a member of ‘stlp_std’ ./boost/math/special_functions/fpclassify.hpp: In function ‘bool boost::math::detail::isfinite_impl(T, const boost::math::detail::native_tag&)’: ./boost/math/special_functions/fpclassify.hpp:262: error: ‘isfinite’ is not a member of ‘stlp_std’ ./boost/math/special_functions/fpclassify.hpp: In function ‘bool boost::math::detail::isnormal_impl(T, const boost::math::detail::native_tag&)’: ./boost/math/special_functions/fpclassify.hpp:321: error: ‘isnormal’ is not a member of ‘stlp_std’ ./boost/math/special_functions/fpclassify.hpp: In function ‘bool boost::math::detail::isinf_impl(T, const boost::math::detail::native_tag&)’: ./boost/math/special_functions/fpclassify.hpp:380: error: ‘isinf’ is not a member of ‘stlp_std’ ./boost/math/special_functions/fpclassify.hpp: In function ‘bool boost::math::detail::isnan_impl(T, const boost::math::detail::native_tag&)’: ./boost/math/special_functions/fpclassify.hpp:456: error: ‘isnan’ is not a member of ‘stlp_std’
I get similar errors when compiling branches/release.
Note:
See TracTickets
for help on using tickets.
(In [50504]) Reconfigure STLPort. Fixes #2631.