Boost C++ Libraries: Ticket #10667: VC++ 2013 compiler warning C4244: 'initializing' : conversion from 'double' to 'const coordinate_type', possible loss of data https://svn.boost.org/trac10/ticket/10667 <p> I'm using Microsoft Visual Studio 12 (2013) to compile boost 1.56.0. I use compiler flag /W4. The following warnings (which we declared errors for our project) occur in geometry, regardless whether I'm compiling for x64 or x86: </p> <pre class="wiki">\boost_1_56_0\boost\geometry\algorithms\detail\sections\sectionalize.hpp(612): warning C4244: 'initializing' : conversion from 'double' to 'const coordinate_type', possible loss of data </pre><p> Please consider related Ticket <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8402" title="#8402: Support Requests: x64 compiler warning C4244: conversion from 'unsigned __int64' to ... (closed: fixed)">#8402</a>. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10667 Trac 1.4.3 Volker Schöch <vschoech@…> Thu, 16 Oct 2014 10:53:32 GMT component changed; owner set https://svn.boost.org/trac10/ticket/10667#comment:1 https://svn.boost.org/trac10/ticket/10667#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Barend Gehrels</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">geometry</span> </li> </ul> Ticket Volker Schöch <vschoech@…> Thu, 20 Nov 2014 09:42:28 GMT version changed https://svn.boost.org/trac10/ticket/10667#comment:2 https://svn.boost.org/trac10/ticket/10667#comment:2 <ul> <li><strong>version</strong> <span class="trac-field-old">Boost 1.56.0</span> → <span class="trac-field-new">Boost 1.57.0</span> </li> </ul> <p> This warning is still present in 1.57.0. </p> Ticket Volker Schöch <vschoech@…> Thu, 04 Jan 2018 14:02:29 GMT keywords, version changed https://svn.boost.org/trac10/ticket/10667#comment:3 https://svn.boost.org/trac10/ticket/10667#comment:3 <ul> <li><strong>keywords</strong> VC++ 2013 removed </li> <li><strong>version</strong> <span class="trac-field-old">Boost 1.57.0</span> → <span class="trac-field-new">Boost 1.66.0</span> </li> </ul> <p> This warning still occurs with boost 1.66.0 and VC++ 14.12.25827. In my case, the first occurrence is the following: </p> <pre class="wiki">\boost_1_66_0\boost\geometry\strategies\cartesian\side_by_triangle.hpp(114): warning C4244: 'initializing': conversion from 'coordinate_type' to 'promoted_type', possible loss of data </pre> Ticket