[Boost-bugs] [Boost C++ Libraries] #8066: Conflict with Boost.Log on GCC 4.4

Subject: [Boost-bugs] [Boost C++ Libraries] #8066: Conflict with Boost.Log on GCC 4.4
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-02-14 20:38:48


#8066: Conflict with Boost.Log on GCC 4.4
------------------------------+---------------------------------------------
 Reporter: andysem | Owner: djowel
     Type: Patches | Status: new
Milestone: To Be Determined | Component: spirit
  Version: Boost 1.53.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 I have a problem with compiling Boost.Log v2 with Boost.Spirit with GCC
 4.4. The compiler mistakenly confuses
 boost::spirit::detail::attribute_value function template declared in
 boost/spirit/home/support/algorithm/any_if.hpp with
 boost::log::attribute_value class in Boost.Log which results in the
 following errors:

 {{{
 ./boost/log/attributes/attribute_value.hpp:64: error: ‘class
 boost::log::v2_mt_posix::attribute_value’ is not a function,
 ./boost/spirit/home/support/algorithm/any_if.hpp:159: error: conflict
 with ‘template<class Pred, class Iterator1, class Last2, class Iterator2>
 typename boost::spirit::detail::result_of::attribute_value<Iterator1,
 Iterator2, Last2, Pred>::type boost::spirit::detail::attribute_value(const
 Iterator2&)’
 ./boost/spirit/home/support/algorithm/any_if.hpp:184: error: in call to
 â€˜attribute_value’
 }}}

 The problem can be resolved by qualifying the call to attribute_value
 function in any_if. Please, find the attached patch that fixes the
 problem.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8066>
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:12 UTC