Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8778: Building boost.log fails due to failure in date_time_format_parser
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-10-12 15:13:30
#8778: Building boost.log fails due to failure in date_time_format_parser
-------------------------------+---------------------
Reporter: benjamin@⦠| Owner: hkaiser
Type: Bugs | Status: new
Milestone: To Be Determined | Component: spirit
Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+---------------------
Changes (by andysem):
* cc: Andrey.Semashev@⦠(added)
* owner: andysem => hkaiser
* component: log => spirit
Comment:
I think the problem is in Boost.Spirit.Karma. Boost.Log uses
karma::uint_generator< uint32_t >, but somehow absolute_value< long double
> 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.
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< long double > is used in the first place. Maybe this is a
sign of a deeper problem. I'm reassigning this ticket to Boost.Spirit.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8778#comment:2> 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:14 UTC