|
From: Matt F. <mat...@cu...> - 2015-01-16 18:29:40
|
Building quantlib 1.4 for x64 in Visual Studio 2013 Update 4 produces a few warnings. The project settings say to treat warnings as errors (/Wx), so this prevents the build from completing. May I suggest either fixing the warnings, or making the compiler settings less strict (/Wx-)? ql\math\modifiedbessel.cpp(61): warning C4244: 'argument' : conversion from 'QuantLib::Size' to 'const QuantLib::Real', possible loss of data 1> ql\math\modifiedbessel.cpp(86) : see reference to function template instantiation 'T QuantLib::`anonymous-namespace'::modifiedBesselFunction_i_impl<QuantLib::Real>(QuantLib::Real,const T &)' being compiled 1> with 1> [ 1> T=QuantLib::Real 1> ] 1>ql\experimental\models\basketgeneratingengine.cpp(51): warning C4244: 'initializing' : conversion from '__int64' to 'int', possible loss of data 1>ql\experimental\models\gaussian1dnonstandardswaptionengine.cpp(151): warning C4244: 'initializing' : conversion from '__int64' to 'int', possible loss of data 1>ql\experimental\models\gsrprocess.cpp(352): warning C4244: 'return' : conversion from '__int64' to 'const int', possible loss of data 1>ql\experimental\models\gsrprocess.cpp(359): warning C4244: 'return' : conversion from '__int64' to 'const int', possible loss of data -Matt |