id summary reporter owner description type status milestone component version severity resolution keywords cc 8402 x64 compiler warning C4244: conversion from 'unsigned __int64' to 'int', possible loss of data Volker Schöch Barend Gehrels "I'm using Microsoft Visual Studio 2012 to compile boost 1.52.0 in an x64 project. I use compiter flag /W4. In this situation, some implicit casts in geometry trigger compiler warnings (which we declared errors for our project), because some numeric data types that match in x86 have different widths in x64: {{{ \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(linestring, current_segment_id, boost::size(linestring) - 1, current_piece); }}} Maybe it's possible to eliminate those warnings for the next boost version?" Support Requests closed Boost 1.57.0 geometry Boost 1.52.0 Cosmetic fixed x64, VC++ 2012, warning, C4244, conversion from 'unsigned __int64' to 'int'