Subject: [Boost-bugs] [Boost C++ Libraries] #10668: VC++ 2013 compiler warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-10-16 11:33:42
#10668: VC++ 2013 compiler warning C4267: 'argument' : conversion from 'size_t' to
'int', possible loss of data
----------------------------------------+---------------------------
Reporter: Volker Schöch <vschoech@â¦> | Owner: barendgehrels
Type: Support Requests | Status: new
Milestone: To Be Determined | Component: geometry
Version: Boost 1.56.0 | Severity: Problem
Keywords: VC++ 2013, warning, C4267 |
----------------------------------------+---------------------------
I am using Microsoft Visual Studio 12 (2013) to compile boost 1.56.0 in an
x64 project. I use compiler flag /W4. In this situation, some implicit
casts in geometry trigger compiler warnings, because some numeric data
types that match in x86 have different widths in x64:
{{{
\libraries\boost_1_56_0\boost\geometry\algorithms\detail\overlay\follow.hpp(499):
warning C4267: 'argument' : conversion from 'size_t' to 'int', possible
loss of data
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10668> 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:17 UTC