[Boost-bugs] [Boost C++ Libraries] #3290: proto::extends compilation error with function type on intel-darwin

Subject: [Boost-bugs] [Boost C++ Libraries] #3290: proto::extends compilation error with function type on intel-darwin
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-07-25 22:30:07


#3290: proto::extends compilation error with function type on intel-darwin
--------------------------------------------------+-------------------------
 Reporter: François Barel <frabar666@…> | Owner: eric_niebler
     Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: proto
  Version: Boost Development Trunk | Severity: Problem
 Keywords: proto extends function intel darwin |
--------------------------------------------------+-------------------------
 These Spirit "actions" test failures on trunk:
  - http://tinyurl.com/kpo5g7 (intel-darwin-10.1)
  - http://tinyurl.com/qz8gcx (intel-darwin-11.0)
 appear to be because of ambiguity between
 {{{proto::as_child<Domain,T>(T&)}}} and {{{proto::as_child<Domain,T>(const
 T&)}}}, like in #3021 (gcc-3.4 bug).

 I think {{{BOOST_PROTO_BROKEN_CONST_QUALIFIED_FUNCTIONS}}} (the workaround
 added in r53158 to fix #3021) also needs to be defined on those platforms.

 Note that some toolsets using the same compiler versions appear to pass
 that test (http://tinyurl.com/pv8kwo), 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
 {{{BOOST_WORKAROUND(__INTEL_COMPILER, BOOST_TESTED_AT(1100))}}}, or
 {{{BOOST_WORKAROUND(__EDG_VERSION__, BOOST_TESTED_AT(310))}}} like for
 {{{BOOST_PROTO_BROKEN_CONST_OVERLOADS}}}?

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