Opened 10 years ago
Last modified 5 years ago
#8404 new Support Requests
VC++ 2012 compiler warning C4244: 'initializing' : conversion from '__int64' to 'const double'
Reported by: | Owned by: | Barend Gehrels | |
---|---|---|---|
Milestone: | To Be Determined | Component: | geometry |
Version: | Boost 1.52.0 | Severity: | Cosmetic |
Keywords: | VC++ 2012, warning, C4244, 'initializing' : conversion from '__int64' to 'const double' | Cc: |
Description
I'm using Microsoft Visual Studio 2012 to compile boost 1.52.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. My scalar data type is int.
\boost_1_52_0\boost\geometry\strategies\cartesian\distance_pythagoras.hpp(156): error C4244: 'initializing' : conversion from '__int64' to 'const double', possible loss of data calculation_type const t = comparable_type::apply(p1, p2);
Maybe it's possible to eliminate this warning for the next boost version?
Change History (3)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Severity: | Problem → Cosmetic |
---|---|
Type: | Bugs → Support Requests |
Note:
See TracTickets
for help on using tickets.
Sorry, I mixed the code with the message. Unfortunately I cannot edit the original post, so here is the message with the correct line break: