Opened 4 years ago

Closed 4 years ago

#10668 closed Support Requests (duplicate)

VC++ 2013 compiler warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data

Reported by: Volker Schöch <vschoech@…> Owned by: Barend Gehrels
Milestone: Boost 1.57.0 Component: geometry
Version: Boost 1.56.0 Severity: Problem
Keywords: VC++ 2013, warning, C4267 Cc:

Description

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

Change History (1)

comment:1 Changed 4 years ago by awulkiew

Milestone: To Be DeterminedBoost 1.57.0
Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.