On 05/06/20 17:42 +0100, Jonathan Wakely wrote:
On 05/06/20 09:00 -0500, Richard Shaw wrote:
Next problem...
/usr/include/boost/geometry/index/detail/rtree/node/variant_visitor.hpp:51:25:
error: no matching function for call to
'apply_visitor(boost::geometry::index::detail::rtree::visitors::insert<WireJoiner::VertexInfo,
boost::geometry::index::rtree<WireJoiner::VertexInfo,
boost::geometry::index::linear<16>, WireJoiner::PntGetter>::members_holder,
boost::geometry::index::detail::rtree::insert_default_tag>&,
boost::variant<boost::geometry::index::detail::rtree::variant_leaf<WireJoiner::VertexInfo,
boost::geometry::index::linear<16>,
boost::geometry::model::box<boost::geometry::model::point<double, 3,
boost::geometry::cs::cartesian> >,
boost::geometry::index::detail::rtree::allocators<boost::container::new_allocator<WireJoiner::VertexInfo>,
WireJoiner::VertexInfo, boost::geometry::index::linear<16>,
boost::geometry::model::box<boost::geometry::model::point<double, 3,
boost::geometry::cs::cartesian> >,
boost::geometry::index::detail::rtree::node_variant_static_tag>,
boost::geometry::index::detail::rtree::node_variant_static_tag>,
boost::geometry::index::detail::rtree::variant_internal_node<WireJoiner::VertexInfo,
boost::geometry::index::linear<16, 4>,
boost::geometry::model::box<boost::geometry::model::point<double, 3,
boost::geometry::cs::cartesian> >,
boost::geometry::index::detail::rtree::allocators<boost::container::new_allocator<WireJoiner::VertexInfo>,
WireJoiner::VertexInfo, boost::geometry::index::linear<16, 4>,
boost::geometry::model::box<boost::geometry::model::point<double, 3,
boost::geometry::cs::cartesian> >,
boost::geometry::index::detail::rtree::node_variant_static_tag>,
boost::geometry::index::detail::rtree::node_variant_static_tag> >&)'
51 | boost::apply_visitor(v, n);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
The next error tells you the reason it couldn't be called:
/usr/include/boost/variant/detail/apply_visitor_unary.hpp:46:1: error: 'typedef void boost::static_visitor<void>::result_type' is inaccessible within this context
And it looks like that's a bug in Boost:
// Default insert visitor
template <typename Element, typename MembersHolder>
class insert
: MembersHolder::visitor
{
I think that base class needs to be public.
Is your work-in-progress to get freecad building pushed to dist-git?
If not, could you send me a SRPM please? I'll try building it against
a patched boost. If that works, I'll push the patched boost to rawhide
and report it upstream.
Looking at the rest of the Boost.Geometry code, and the rest of the
patch that changed that line, I'm convinced it's a Boost bug.
Reported as:
https://github.com/boostorg/geometry/issues/721
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx