VS 2015 warnings in boost geometry 1.62

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

VS 2015 warnings in boost geometry 1.62

vish
I'm getting two VS 2015 warnings in boost geometry code:

d:\boost_1_62_0\boost/geometry/algorithms/detail/overlay/handle_colocations.hpp(392) : warning C4189: 'same_multi1' : local variable is initialized but not referenced
 
d:\boost_1_62_0\boost/geometry/algorithms/detail/overlay/sort_by_side.hpp(306) : warning C4267: 'initializing' : conversion from 'size_t' to 'const int', possible loss of data

Can these be eliminated in the next update?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: VS 2015 warnings in boost geometry 1.62

Barend
Hi,


Op 8-11-2016 om 19:08 schreef vish:

> I'm getting two VS 2015 warnings in boost geometry code:
>
> d:\boost_1_62_0\boost/geometry/algorithms/detail/overlay/handle_colocations.hpp(392)
> : warning C4189: 'same_multi1' : local variable is initialized but not
> referenced
>  
> d:\boost_1_62_0\boost/geometry/algorithms/detail/overlay/sort_by_side.hpp(306)
> : warning C4267: 'initializing' : conversion from 'size_t' to 'const int',
> possible loss of data
>
> Can these be eliminated in the next update?

Yes they will be eliminated, thanks for the report. The second was fixed
earlier, the first should be silenced now too.

Regards, Barend
_______________________________________________
Geometry mailing list
[hidden email]
http://lists.boost.org/mailman/listinfo.cgi/geometry
Loading...