Hi Geoff,

distgeom.cpp is creating a lot of warnings in MSVC about doubles and
floats. Could you take a look? Presumably an easy fix.

1>distgeom.cpp
1>..\..\..\src\distgeom.cpp(126) : warning C4244: 'initializing' :
conversion from 'double' to 'float', possible loss of data
1>..\..\..\src\distgeom.cpp(131) : warning C4244: '=' : conversion
from 'double' to 'float', possible loss of data
1>..\..\..\src\distgeom.cpp(138) : warning C4244: '=' : conversion
from 'double' to 'float', possible loss of data
1>..\..\..\src\distgeom.cpp(158) : warning C4244: 'argument' :
conversion from 'double' to 'float', possible loss of data
1>..\..\..\src\distgeom.cpp(159) : warning C4244: 'argument' :
conversion from 'double' to 'float', possible loss of data
1>..\..\..\src\distgeom.cpp(163) : warning C4244: 'argument' :
conversion from 'double' to 'float', possible loss of data
1>..\..\..\src\distgeom.cpp(164) : warning C4244: 'argument' :
conversion from 'double' to 'float', possible loss of data
1>..\..\..\src\distgeom.cpp(237) : warning C4244: '=' : conversion
from 'double' to 'float', possible loss of data
1>..\..\..\src\distgeom.cpp(238) : warning C4244: 'argument' :
conversion from 'double' to 'float', possible loss of data
1>..\..\..\src\distgeom.cpp(239) : warning C4244: 'argument' :
conversion from 'double' to 'float', possible loss of data
1>..\..\..\src\distgeom.cpp(243) : warning C4305: 'initializing' :
truncation from 'double' to 'float'
1>..\..\..\src\distgeom.cpp(251) : warning C4244: '=' : conversion
from 'double' to 'float', possible loss of data
1>..\..\..\src\distgeom.cpp(252) : warning C4305: '*=' : truncation
from 'double' to 'float'
1>..\..\..\src\distgeom.cpp(255) : warning C4305: '=' : truncation
from 'double' to 'float'
1>..\..\..\src\distgeom.cpp(257) : warning C4305: '=' : truncation
from 'double' to 'float'
1>..\..\..\src\distgeom.cpp(262) : warning C4305: '=' : truncation
from 'double' to 'float'
1>..\..\..\src\distgeom.cpp(265) : warning C4305: '=' : truncation
from 'double' to 'float'
1>..\..\..\src\distgeom.cpp(269) : warning C4305: '=' : truncation
from 'double' to 'float'
1>..\..\..\src\distgeom.cpp(276) : warning C4244: '=' : conversion
from 'double' to 'float', possible loss of data
1>..\..\..\src\distgeom.cpp(277) : warning C4244: '=' : conversion
from 'double' to 'float', possible loss of data
1>..\..\..\src\distgeom.cpp(279) : warning C4244: '=' : conversion
from 'double' to 'float', possible loss of data
1>..\..\..\src\distgeom.cpp(280) : warning C4244: 'argument' :
conversion from 'double' to 'float', possible loss of data
1>..\..\..\src\distgeom.cpp(281) : warning C4244: 'argument' :
conversion from 'double' to 'float', possible loss of data
1>..\..\..\src\distgeom.cpp(305) : warning C4244: '=' : conversion
from 'double' to 'float', possible loss of data
1>..\..\..\src\distgeom.cpp(306) : warning C4244: '=' : conversion
from 'double' to 'float', possible loss of data
1>..\..\..\src\distgeom.cpp(307) : warning C4244: '=' : conversion
from 'double' to 'float', possible loss of data
1>..\..\..\src\distgeom.cpp(310) : warning C4244: '=' : conversion
from 'double' to 'float', possible loss of data
1>..\..\..\src\distgeom.cpp(311) : warning C4244: '=' : conversion
from 'double' to 'float', possible loss of data
1>..\..\..\src\distgeom.cpp(312) : warning C4244: '=' : conversion
from 'double' to 'float', possible loss of data
1>..\..\..\src\distgeom.cpp(313) : warning C4244: '=' : conversion
from 'double' to 'float', possible loss of data
1>..\..\..\src\distgeom.cpp(316) : warning C4244: 'argument' :
conversion from 'double' to 'float', possible loss of data
1>..\..\..\src\distgeom.cpp(317) : warning C4244: 'argument' :
conversion from 'double' to 'float', possible loss of data
1>..\..\..\src\distgeom.cpp(294) : warning C4101: 'i' : unreferenced
local variable
1>..\..\..\src\distgeom.cpp(294) : warning C4101: 'j' : unreferenced
local variable
1>..\..\..\src\distgeom.cpp(395) : warning C4244: 'argument' :
conversion from 'double' to 'float', possible loss of data
1>..\..\..\src\distgeom.cpp(396) : warning C4244: 'argument' :
conversion from 'double' to 'float', possible loss of data
1>..\..\..\src\distgeom.cpp(362) : warning C4101: 'l_bc' :
unreferenced local variable

- Noel

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenBabel-Devel mailing list
OpenBabel-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-devel

Reply via email to