problem to compile examples with borland C++ 5.6

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

problem to compile examples with borland C++ 5.6

Xavier.Abulker
Hello Quantlib,
I've installed Borland C++ 5.6 and now I can't compile the example located
in the directory Quantlib\Examples.
I receive the error:

MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
Borland C++ 5.6 for Win32 Copyright (c) 1993, 2002 Borland
EuropeanOption.cpp:
Error E2015 C:\Program Files\QuantLib\ql/Pricers/continuousgeometricapo.hpp
67:
Ambiguity between 'std::sqrt(double)' and 'std::sqrt(long double)' in
function Q
uantLib::Pricers::ContinuousGeometricAPO::ContinuousGeometricAPO(QuantLib::Optio
n::Type,double,double,double,double,double,double)
Error E2451 EuropeanOption.cpp 251: Undefined symbol 'e' in function
main(int,ch
ar * *)
*** 2 errors in Compile ***

Has someone already  found the same error?

Thanks
Xavier