[Boost-bugs] [Boost C++ Libraries] #13597: VC++ 15 compiler warning C4244: 'argument': conversion from 'const coordinate_type' to 'const int', possible loss of data**

Subject: [Boost-bugs] [Boost C++ Libraries] #13597: VC++ 15 compiler warning C4244: 'argument': conversion from 'const coordinate_type' to 'const int', possible loss of data**
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-06-13 13:34:58


#13597: VC++ 15 compiler warning C4244: 'argument': conversion from 'const
coordinate_type' to 'const int', possible loss of data**
----------------------------------------+----------------------------
 Reporter: Volker Schöch <vschoech@…> | Owner: Barend Gehrels
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: geometry
  Version: Boost 1.67.0 | Severity: Problem
 Keywords: error warning C4244 |
----------------------------------------+----------------------------
 I'm using Microsoft Visual Studio 15.6.0 to compile boost 1.67.0. I use
 compiler flag /W4 and compile for x64 platform. The following warnings
 (which we declared an error for our project) occur in geometry:

 **\boost_1_67_0\boost\geometry\algorithms\detail\expand\point.hpp(73):
 error C4244: 'argument': conversion from 'const coordinate_type' to 'const
 int', possible loss of data**

 **\boost_1_67_0\boost\geometry\strategies\cartesian\side_by_triangle.hpp(114):
 error C4244: 'initializing': conversion from 'coordinate_type' to 'const
 promoted_type', possible loss of data**

 **\boost_1_67_0\boost\geometry\algorithms\detail\equals\collect_vectors.hpp(91):
 error C4244: 'initializing': conversion from '__int64' to 'double',
 possible loss of data**

 **\boost_1_67_0\boost\geometry\strategies\cartesian\intersection.hpp(159):
 error C4244: 'return': conversion from '__int64' to 'double', possible
 loss of data**

 Consider related ticket #10667.

-- 
Ticket URL: <https://svn.boost.org/trac10/ticket/13597>
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-06-13 13:58:13 UTC