Re: conversion warnings on build
Posted by Ferdinando Ametrano-3 on
URL: http://quantlib.414.s1.nabble.com/conversion-warnings-on-build-tp2634p2635.html
Hi David
>date.hpp(x) : warning C4267: 'return' : conversion
>from 'size_t' to 'QuantLib::Day', possible loss of
>data
QuantLib::Day is a typedef to int, while size_t is unsigned int. We should
pay some attention, but I won't fix it immediately, since date algebra may
require (negative) int somewhere.
No real problem here: just ignore the warning
>It also errors with:
>
>LINK : fatal error LNK1104: cannot open file
>'QuantLib_d.lib'
QuantLib_d.lib is the debug version of the library: you've probably
built/installed only the release version QuantLib.lib while you're
compiling the Debug version of your dll, which require QuantLib_d
hope it helps
------------
ciao -- Nando