Boost C++ Libraries: Ticket #13469: Getting lot of warnings for simple code which is using boost::Intersection https://svn.boost.org/trac10/ticket/13469 <p> The simple code below is generating a lot of warnings in boost 1_61_0 version. </p> <pre class="wiki"> #include &lt;boost/geometry/core/cs.hpp&gt; #include &lt;boost/geometry/geometries/register/point.hpp&gt; #include &lt;boost/geometry/geometries/polygon.hpp&gt; #include &lt;boost/geometry/geometries/register/ring.hpp&gt; #include &lt;boost/geometry.hpp&gt; struct Vertex2D { double X; double Y; }; BOOST_GEOMETRY_REGISTER_POINT_2D(Vertex2D, double, cs::cartesian, X, Y); typedef std::vector&lt;Vertex2D&gt; Ring; BOOST_GEOMETRY_REGISTER_RING(Ring); typedef boost::geometry::model::polygon&lt;Vertex2D&gt; Polygon; int main() { Polygon p1; Polygon p2; std::vector&lt;Polygon&gt; intersections; boost::geometry::intersection(p1, p2, intersections); return 0; } </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/13469 Trac 1.4.3