Subject: [Boost-bugs] [Boost C++ Libraries] #7183: math::isinf compilation failure on FBSD
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-07-29 18:33:38
#7183: math::isinf compilation failure on FBSD
-------------------------------------+--------------------------------------
Reporter: apolukhin | Owner: johnmaddock
Type: Bugs | Status: new
Milestone: To Be Determined | Component: math
Version: Boost Development Trunk | Severity: Regression
Keywords: bsd isinf math |
-------------------------------------+--------------------------------------
Compilation of `bool boost::math::isinf(T) [with T = long double]` failes
under FBSD x32 and FBSD x64 platforms (compiler GCC-4.2.1, boost trunk):
{{{
../boost/math/tools/promotion.hpp: In instantiation of
'boost::math::tools::promote_args<long double, float, float, float, float,
float>':
../boost/math/special_functions/fpclassify.hpp:454: instantiated from
'bool boost::math::isinf(T) [with T = long double]'
../boost/lexical_cast.hpp:864: instantiated from 'bool
boost::detail::put_inf_nan_impl(CharT*, CharT*&, const T&, const CharT*,
const CharT*) [with CharT = char, T = long double]'
../boost/lexical_cast.hpp:943: instantiated from 'bool
boost::detail::put_inf_nan(CharT*, CharT*&, const T&) [with CharT = char,
T = long double]'
../boost/lexical_cast.hpp:1377: instantiated from 'static bool
boost::detail::lexical_stream_limited_src<CharT, Traits,
RequiresStringbuffer>::shl_real_type(long double, char*, char*&) [with
CharT = char, Traits = std::char_traits<char>, bool RequiresStringbuffer =
false]'
../boost/lexical_cast.hpp:1535: instantiated from 'bool
boost::detail::lexical_stream_limited_src<CharT, Traits,
RequiresStringbuffer>::operator<<(long double) [with CharT = char, Traits
= std::char_traits<char>, bool RequiresStringbuffer = false]'
../boost/lexical_cast.hpp:2134: instantiated from 'static Target
boost::detail::lexical_cast_do_cast<Target,
Source>::lexical_cast_impl(const Source&) [with Target = char, Source =
long double]'
../boost/lexical_cast.hpp:2294: instantiated from 'Target
boost::lexical_cast(const Source&) [with Target = char, Source = long
double]'
../libs/conversion/test/lexical_cast_float_types_test.cpp:394:
instantiated from 'void test_conversion_from_float_to_char(CharT) [with T
= long double, CharT = char]'
../libs/conversion/test/lexical_cast_float_types_test.cpp:440:
instantiated from 'void test_conversion_from_to_float() [with T = long
double]'
../libs/conversion/test/lexical_cast_float_types_test.cpp:507:
instantiated from here
../boost/math/tools/promotion.hpp:141: error: invalid application of
'sizeof' to incomplete type 'boost::STATIC_ASSERTION_FAILURE<false>'
}}}
Failed tests:
[http://www.boost.org/development/tests/trunk/developer/output/FBSD-32
%20jc-bell-com-boost-bin-v2-libs-conversion-test-
lexical_cast_float_types_test-test-gcc-4-2-1-debug-link-static.html
FBSD-32] and
[http://www.boost.org/development/tests/trunk/developer/output/FBSD-64
%20jc-bell-com-boost-bin-v2-libs-conversion-test-
lexical_cast_float_types_test-test-gcc-4-2-1-debug-link-static.html
FBSD-64]
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7183> 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:50:10 UTC