id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 7183,math::isinf compilation failure on FBSD,Antony Polukhin,John Maddock,"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': ../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::shl_real_type(long double, char*, char*&) [with CharT = char, Traits = std::char_traits, bool RequiresStringbuffer = false]' ../boost/lexical_cast.hpp:1535: instantiated from 'bool boost::detail::lexical_stream_limited_src::operator<<(long double) [with CharT = char, Traits = std::char_traits, bool RequiresStringbuffer = false]' ../boost/lexical_cast.hpp:2134: instantiated from 'static Target boost::detail::lexical_cast_do_cast::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' }}} 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]",Bugs,closed,To Be Determined,math,Boost Development Trunk,Regression,fixed,bsd isinf math,antoshkka@…