|
From: Ferdinando A. <na...@am...> - 2007-10-18 16:27:04
|
On 10/18/07, lba...@us... <lba...@us...> wrote: > Revision: 13084 > http://quantlib.svn.sourceforge.net/quantlib/?rev=13084&view=rev > Author: lballabio > Date: 2007-10-18 06:53:30 -0700 (Thu, 18 Oct 2007) > > Log Message: > ----------- > Added histogram class (thanks to Gang Liang) it does not compile on VC8. see below ciao -- Nando 1>------ Build started: Project: QuantLib, Configuration: Release CRTDLL Win32 ------ 1>Compiling... 1>histogram.cpp 1>.\ql\math\statistics\histogram.cpp(110) : error C2668: 'log' : ambiguous call to overloaded function 1> C:\Program Files\Microsoft Visual Studio 8\VC\include\math.h(121): could be 'double log(double)' 1> C:\Program Files\Microsoft Visual Studio 8\VC\include\math.h(519): or 'float log(float)' 1> C:\Program Files\Microsoft Visual Studio 8\VC\include\math.h(567): or 'long double log(long double)' 1> while trying to match the argument list '(unsigned int)' 1>Build Time 0:01 1>Build log was saved at "file://c:\Projects\DevEnv\trunk2\QuantLib\build\vc80\Release CRTDLL\BuildLog.htm" 1>QuantLib - 1 error(s), 0 warning(s) |