Re: [Boost-bugs] [Boost C++ Libraries] #8402: x64 compiler warning C4244: conversion from 'unsigned __int64' to 'int', possible loss of data

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8402: x64 compiler warning C4244: conversion from 'unsigned __int64' to 'int', possible loss of data
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-04-05 15:04:52


#8402: x64 compiler warning C4244: conversion from 'unsigned __int64' to 'int',
possible loss of data
------------------------------------------------------+---------------------
  Reporter: Volker Schöch <vschoech@…> | Owner: barendgehrels
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: geometry
   Version: Boost 1.52.0 | Severity: Problem
Resolution: | Keywords: x64, VC++ 2012, warning, C4244, conversion from 'unsigned __int64' to 'int'
------------------------------------------------------+---------------------

Comment (by Volker Schöch <vschoech@…>):

 Sorry, I mixed the code with the message. Unfortunately I cannot edit the
 original post, so here are the messages with the correct line breaks:
 {{{
 \boost_1_52_0\boost\geometry\io\wkt\read.hpp(514): error C4244:
 'initializing' : conversion from 'unsigned __int64' to 'int', possible
 loss of data
 int n = boost::size(points);
 }}}
 {{{
 \boost_1_52_0\boost\geometry\algorithms\detail\overlay\follow.hpp(395):
 error C4244: 'argument' : conversion from 'unsigned __int64' to 'int',
 possible loss of data
 geometry::copy_segments<false>(linestring, current_segment_id,
 boost::size(linestring) - 1, current_piece);
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8402#comment:1>
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 : 2017-02-16 18:50:12 UTC