Posted by
Matt Feemster on
Jan 16, 2015; 6:28pm
URL: http://quantlib.414.s1.nabble.com/Build-warnings-in-VS-2013-tp16182.html
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
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev