Subject: [Boost-bugs] [Boost C++ Libraries] #13469: Getting lot of warnings for simple code which is using boost::Intersection
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-03-06 12:05:28
#13469: Getting lot of warnings for simple code which is using boost::Intersection
------------------------------+------------------------------
Reporter: sumanth.kaliki@⦠| Owner: Lucanus Simonson
Type: Support Requests | Status: new
Milestone: To Be Determined | Component: polygon
Version: Boost 1.61.0 | Severity: Problem
Keywords: |
------------------------------+------------------------------
The simple code below is generating a lot of warnings in boost 1_61_0
version.
{{{
#include <boost/geometry/core/cs.hpp>
#include <boost/geometry/geometries/register/point.hpp>
#include <boost/geometry/geometries/polygon.hpp>
#include <boost/geometry/geometries/register/ring.hpp>
#include <boost/geometry.hpp>
struct Vertex2D
{
double X;
double Y;
};
BOOST_GEOMETRY_REGISTER_POINT_2D(Vertex2D, double, cs::cartesian, X, Y);
typedef std::vector<Vertex2D> Ring;
BOOST_GEOMETRY_REGISTER_RING(Ring);
typedef boost::geometry::model::polygon<Vertex2D> Polygon;
int main()
{
Polygon p1;
Polygon p2;
std::vector<Polygon> intersections;
boost::geometry::intersection(p1, p2, intersections);
return 0;
}
}}}
-- Ticket URL: <https://svn.boost.org/trac10/ticket/13469> 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 : 2018-03-06 12:10:54 UTC