Boost C++ Libraries: Ticket #8066: Conflict with Boost.Log on GCC 4.4 https://svn.boost.org/trac10/ticket/8066 <p> 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: </p> <pre class="wiki">./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&lt;class Pred, class Iterator1, class Last2, class Iterator2&gt; typename boost::spirit::detail::result_of::attribute_value&lt;Iterator1, Iterator2, Last2, Pred&gt;::type boost::spirit::detail::attribute_value(const Iterator2&amp;)’ ./boost/spirit/home/support/algorithm/any_if.hpp:184: error: in call to ‘attribute_value’ </pre><p> 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. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8066 Trac 1.4.3 Andrey Semashev Thu, 14 Feb 2013 20:39:39 GMT attachment set https://svn.boost.org/trac10/ticket/8066 https://svn.boost.org/trac10/ticket/8066 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">spirit_log_fix.patch</span> </li> </ul> <p> The patch fixes Boost.Log v2 compilation. </p> Ticket Andrey Semashev Thu, 02 May 2013 18:29:31 GMT owner changed https://svn.boost.org/trac10/ticket/8066#comment:1 https://svn.boost.org/trac10/ticket/8066#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Joel de Guzman</span> to <span class="trac-author">Hartmut Kaiser</span> </li> </ul> <p> Any updates on this? You can see <a href="http://www.boost.org/development/tests/trunk/developer/log.html">MinGW test failures</a> because of this issue. </p> Ticket Hartmut Kaiser Thu, 02 May 2013 19:48:27 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/8066#comment:2 https://svn.boost.org/trac10/ticket/8066#comment:2 <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/84118" title="Fix #8066: Conflict with Boost.Log on GCC 4.4">[84118]</a>) Fix <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8066" title="#8066: Patches: Conflict with Boost.Log on GCC 4.4 (closed: fixed)">#8066</a>: Conflict with Boost.Log on GCC 4.4 </p> Ticket Andrey Semashev Sun, 05 May 2013 12:09:44 GMT <link>https://svn.boost.org/trac10/ticket/8066#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8066#comment:3</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/84142" title="Refs #8066. The ticket is resolved, which should fix Boost.Log tests.">[84142]</a>) Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8066" title="#8066: Patches: Conflict with Boost.Log on GCC 4.4 (closed: fixed)">#8066</a>. The ticket is resolved, which should fix Boost.Log tests. </p> </description> <category>Ticket</category> </item> </channel> </rss>