Boost logo

Geometry :

Subject: Re: [geometry] backward compatibility breakage in boost::geometry::partition apply function
From: vish (vrang4_at_[hidden])
Date: 2017-05-11 17:17:14


Thank you, Adam.

The change you suggested eliminated the compile time error. Now there are 12
warnings. It would be nice if they can be fixed in an updated version.

d:\boost_1_64_0\boost/geometry/algorithms/detail/overlay/traversal_switch_detector.hpp(159):
warning C4244: '=': conversion from 'const
boost::geometry::signed_size_type' to 'int', possible loss of data

d:\boost_1_64_0\boost/geometry/algorithms/detail/overlay/handle_colocations.hpp(317):
warning C4456: declaration of 'it' hides previous local declaration

d:\boost_1_64_0\boost/geometry/algorithms/detail/overlay/sort_by_side.hpp(234):
warning C4244: 'argument': conversion from
'boost::geometry::signed_size_type' to 'int', possible loss of data

d:\boost_1_64_0\boost/geometry/algorithms/detail/overlay/sort_by_side.hpp(235):
warning C4244: 'argument': conversion from
'boost::geometry::signed_size_type' to 'int', possible loss of data

d:\boost_1_64_0\boost/geometry/strategies/cartesian/side_by_triangle.hpp(97):
warning C4244: 'initializing': conversion from 'coordinate_type' to
'promoted_type', possible loss of data

d:\boost_1_64_0\boost/geometry/strategies/cartesian/side_by_triangle.hpp(97):
warning C4244: 'initializing': conversion from 'coordinate_type' to 'const
promoted_type', possible loss of data

d:\boost_1_64_0\boost/geometry/strategies/cartesian/side_by_triangle.hpp(98):
warning C4244: 'initializing': conversion from 'coordinate_type' to
'promoted_type', possible loss of data

d:\boost_1_64_0\boost/geometry/strategies/cartesian/side_by_triangle.hpp(98):
warning C4244: 'initializing': conversion from 'coordinate_type' to 'const
promoted_type', possible loss of data

d:\boost_1_64_0\boost/geometry/strategies/cartesian/side_by_triangle.hpp(99):
warning C4244: 'initializing': conversion from 'coordinate_type' to
'promoted_type', possible loss of data

d:\boost_1_64_0\boost/geometry/strategies/cartesian/side_by_triangle.hpp(99):
warning C4244: 'initializing': conversion from 'coordinate_type' to 'const
promoted_type', possible loss of data

d:\boost_1_64_0\boost/geometry/strategies/cartesian/side_by_triangle.hpp(100):
warning C4244: 'initializing': conversion from 'coordinate_type' to
'promoted_type', possible loss of data

d:\boost_1_64_0\boost/geometry/strategies/cartesian/side_by_triangle.hpp(100):
warning C4244: 'initializing': conversion from 'coordinate_type' to 'const
promoted_type', possible loss of data

--
View this message in context: http://boost-geometry.203548.n3.nabble.com/backward-compatibility-breakage-in-boost-geometry-partition-apply-function-tp4026789p4026791.html
Sent from the Boost Geometry mailing list archive at Nabble.com.

Geometry list run by mateusz at loskot.net