Boost C++ Libraries: Ticket #7183: math::isinf compilation failure on FBSD https://svn.boost.org/trac10/ticket/7183 <p> Compilation of <code>bool boost::math::isinf(T) [with T = long double]</code> failes under FBSD x32 and FBSD x64 platforms (compiler GCC-4.2.1, boost trunk): </p> <pre class="wiki">../boost/math/tools/promotion.hpp: In instantiation of 'boost::math::tools::promote_args&lt;long double, float, float, float, float, float&gt;': ../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*&amp;, const T&amp;, 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*&amp;, const T&amp;) [with CharT = char, T = long double]' ../boost/lexical_cast.hpp:1377: instantiated from 'static bool boost::detail::lexical_stream_limited_src&lt;CharT, Traits, RequiresStringbuffer&gt;::shl_real_type(long double, char*, char*&amp;) [with CharT = char, Traits = std::char_traits&lt;char&gt;, bool RequiresStringbuffer = false]' ../boost/lexical_cast.hpp:1535: instantiated from 'bool boost::detail::lexical_stream_limited_src&lt;CharT, Traits, RequiresStringbuffer&gt;::operator&lt;&lt;(long double) [with CharT = char, Traits = std::char_traits&lt;char&gt;, bool RequiresStringbuffer = false]' ../boost/lexical_cast.hpp:2134: instantiated from 'static Target boost::detail::lexical_cast_do_cast&lt;Target, Source&gt;::lexical_cast_impl(const Source&amp;) [with Target = char, Source = long double]' ../boost/lexical_cast.hpp:2294: instantiated from 'Target boost::lexical_cast(const Source&amp;) [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&lt;false&gt;' </pre><p> Failed tests: <a href="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</a> and <a href="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</a> </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7183 Trac 1.4.3 John Maddock Thu, 29 Nov 2012 13:27:36 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/7183#comment:1 https://svn.boost.org/trac10/ticket/7183#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/81624" title="Lots of small patches. Update and regenerate docs. Fixes #7183. Fixes ...">[81624]</a>) Lots of small patches. Update and regenerate docs. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7183" title="#7183: Bugs: math::isinf compilation failure on FBSD (closed: fixed)">#7183</a>. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7290" title="#7290: Bugs: complex acos is occasionally wrong (closed: fixed)">#7290</a>. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7291" title="#7291: Bugs: complex atan is not the best it could be (closed: fixed)">#7291</a>. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7649" title="#7649: Bugs: Minor comment typo in boost/math/constants/calculate_constants.hpp (closed: fixed)">#7649</a>. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7492" title="#7492: Bugs: add support of libc++ (closed: fixed)">#7492</a>. </p> Ticket