Subject: [Boost-bugs] [Boost C++ Libraries] #13039: geometry::difference with multi_linestring and multi_polygon doesn't compile with MinGW
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-05-19 17:30:15
#13039: geometry::difference with multi_linestring and multi_polygon doesn't
compile with MinGW
------------------------------+---------------------------
Reporter: bruno.deligny@⦠| Owner: barendgehrels
Type: Bugs | Status: new
Milestone: To Be Determined | Component: geometry
Version: Boost 1.63.0 | Severity: Problem
Keywords: |
------------------------------+---------------------------
{{{
#!div style="font-size: 80%"
Code highlighting:
{{{#!python
boost::geometry::model::multi_polygon< boost::geometry::model::polygon<
boost::geometry::model::d2::point_xy<float> , false, false> >
myMultiPolygon;
boost::geometry::model::multi_linestring<
boost::geometry::model::linestring<
boost::geometry::model::d2::point_xy<float> > >
myMultiLineString;
boost::geometry::model::multi_linestring<
boost::geometry::model::linestring<
boost::geometry::model::d2::point_xy<float> > >
myMultiLineStringOut;
boost::geometry::difference(myMultiLineString, myMultiPolygon,
myMultiLineStringOut);
}}}
}}}
On MinGW 5.3.0 with QtCreator, it ouput:
boost\boost\geometry\algorithms\detail\overlay\intersection_insert.hpp:403:
error: no matching function for call to
'assertion_failed(mpl_::failed************
(boost::geometry::dispatch::intersection_insert<boost::geometry::model::multi_linestring<boost::geometry::model::linestring<boost::geometry::model::d2::point_xy<float>
> >,
boost::geometry::model::multi_polygon<boost::geometry::model::polygon<boost::geometry::model::d2::point_xy<float>,
false, false> >,
boost::geometry::model::linestring<boost::geometry::model::d2::point_xy<float>
>, (boost::geometry::overlay_type)2u, false, false, false,
boost::geometry::multi_linestring_tag, boost::geometry::multi_polygon_tag,
boost::geometry::linestring_tag, false, true,
false>::NOT_OR_NOT_YET_IMPLEMENTED_FOR_THIS_GEOMETRY_TYPES_OR_ORIENTATIONS::************)(mpl_::assert_::types<boost::geometry::model::multi_linestring<boost::geometry::model::linestring<boost::geometry::model::d2::point_xy<float>
> >,
boost::geometry::model::multi_polygon<boost::geometry::model::polygon<boost::geometry::model::d2::point_xy<float>,
false, false> >,
boost::geometry::model::linestring<boost::geometry::model::d2::point_xy<float>
>, mpl_::na>))'
BOOST_MPL_ASSERT_MSG
^
It works on Visual Studio 2015.
And it's the same with a line_string instead of the multi_linestring.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/13039> 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-05-19 17:33:19 UTC