Boost C++ Libraries: Ticket #3290: proto::extends compilation error with function type on intel-darwin https://svn.boost.org/trac10/ticket/3290 <p> These Spirit "actions" test failures on trunk: </p> <ul><li><a class="ext-link" href="http://tinyurl.com/kpo5g7"><span class="icon">​</span>http://tinyurl.com/kpo5g7</a> (intel-darwin-10.1) </li><li><a class="ext-link" href="http://tinyurl.com/qz8gcx"><span class="icon">​</span>http://tinyurl.com/qz8gcx</a> (intel-darwin-11.0) </li></ul><p> appear to be because of ambiguity between <code>proto::as_child&lt;Domain,T&gt;(T&amp;)</code> and <code>proto::as_child&lt;Domain,T&gt;(const T&amp;)</code>, like in <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3021" title="#3021: Bugs: proto::extends compilation error with function type on gcc-3.4.5 (closed: fixed)">#3021</a> (gcc-3.4 bug). </p> <p> I think <code>BOOST_PROTO_BROKEN_CONST_QUALIFIED_FUNCTIONS</code> (the workaround added in <a class="changeset" href="https://svn.boost.org/trac10/changeset/53158" title="workaround for gcc-3.4 bug, fixes #3021">r53158</a> to fix <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3021" title="#3021: Bugs: proto::extends compilation error with function type on gcc-3.4.5 (closed: fixed)">#3021</a>) also needs to be defined on those platforms. </p> <p> Note that some toolsets using the same compiler versions appear to pass that test (<a class="ext-link" href="http://tinyurl.com/pv8kwo"><span class="icon">​</span>http://tinyurl.com/pv8kwo</a>), because in some cases the Intel compiler claims to be a gcc-3.4, so the existing workaround already kicks in. So I'm not sure what the exact condition should be... probably either <code>BOOST_WORKAROUND(__INTEL_COMPILER, BOOST_TESTED_AT(1100))</code>, or <code>BOOST_WORKAROUND(__EDG_VERSION__, BOOST_TESTED_AT(310))</code> like for <code>BOOST_PROTO_BROKEN_CONST_OVERLOADS</code>? </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3290 Trac 1.4.3 Eric Niebler Mon, 26 Oct 2009 20:21:22 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3290#comment:1 https://svn.boost.org/trac10/ticket/3290#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/57160" title="work around EDG compiler bug, fixes #3290">[57160]</a>) work around EDG compiler bug, fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3290" title="#3290: Bugs: proto::extends compilation error with function type on intel-darwin (closed: fixed)">#3290</a> </p> Ticket