Boost C++ Libraries: Ticket #8778: Building boost.log fails due to failure in date_time_format_parser https://svn.boost.org/trac10/ticket/8778 <p> When building boost.Log in current cygwin it fails due to an error in date_time_format_parser.cpp (see attached log file) </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8778 Trac 1.4.3 benjamin@… Thu, 04 Jul 2013 13:48:14 GMT attachment set https://svn.boost.org/trac10/ticket/8778 https://svn.boost.org/trac10/ticket/8778 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">build_log.log</span> </li> </ul> <p> Build log </p> Ticket viboes Sat, 12 Oct 2013 13:14:19 GMT component changed; owner set https://svn.boost.org/trac10/ticket/8778#comment:1 https://svn.boost.org/trac10/ticket/8778#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Andrey Semashev</span> </li> <li><strong>component</strong> <span class="trac-field-old">Building Boost</span> → <span class="trac-field-new">log</span> </li> </ul> Ticket Andrey Semashev Sat, 12 Oct 2013 15:13:30 GMT owner, component changed; cc set https://svn.boost.org/trac10/ticket/8778#comment:2 https://svn.boost.org/trac10/ticket/8778#comment:2 <ul> <li><strong>cc</strong> <span class="trac-author">Andrey.Semashev@…</span> added </li> <li><strong>owner</strong> changed from <span class="trac-author">Andrey Semashev</span> to <span class="trac-author">Hartmut Kaiser</span> </li> <li><strong>component</strong> <span class="trac-field-old">log</span> → <span class="trac-field-new">spirit</span> </li> </ul> <p> I think the problem is in Boost.Spirit.Karma. Boost.Log uses karma::uint_generator&lt; uint32_t &gt;, but somehow absolute_value&lt; long double &gt; gets instantiated. Apparently, Boost.Math doesn't support long double on Cygwin (and defines BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS, which should be checked for by Boost.Spirit), which results in the build failure. </p> <p> I think, preliminary fix would be checking for BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS in Bost.Spirit and fallback to the generic code based on fabs. But it is not clear to me why absolute_value&lt; long double &gt; is used in the first place. Maybe this is a sign of a deeper problem. I'm reassigning this ticket to Boost.Spirit. </p> Ticket Joel de Guzman Sun, 14 Mar 2021 19:50:56 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/8778#comment:3 https://svn.boost.org/trac10/ticket/8778#comment:3 <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">wontfix</span> </li> </ul> <p> since <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/648" title="#648: Support Requests: Compiling Shmem (closed: None)">#648</a> <a class="ext-link" href="https://github.com/boostorg/spirit/pull/648"><span class="icon">​</span>https://github.com/boostorg/spirit/pull/648</a> (will be in boost-1.76) we no longer use Boost.Math </p> Ticket