Code cannot be compiled for CVS snapshot on June 17, 2004

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

Code cannot be compiled for CVS snapshot on June 17, 2004

Zhou Wu-2
 
 Using g++ 3.2, boost 1.31 on Redhat Linux 8.0, I got
the following compiling error




 g++ -DHAVE_CONFIG_H -I. -I. -I../../ql -I../..
-I../.. -g -O2 -MT lattice.lo -MD -MP -MF
.deps/lattice.Tpo -c lattice.cpp  -fPIC -DPIC -o
.libs/lattice.o
In file included from lattice.cpp:20:
../../ql/discretizedasset.hpp: In member function
`virtual void
 
QuantLib::DiscretizedAsset::addTimesTo(std::list<Time,
std::allocator<Time>
   >&) const':
../../ql/discretizedasset.hpp:135: no matching
function for call to `copy(
   __gnu_cxx::__normal_iterator<Time*,
std::vector<Time, std::allocator<Time> >
   >, double&,
std::back_insert_iterator<std::list<Time,
std::allocator<Time> >
   >)'
make[3]: *** [lattice.lo] Error 1
make[3]: Leaving directory
`/home/zwu/QuantLib/ql/Lattices'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/zwu/QuantLib/ql'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/zwu/QuantLib/ql'
make: *** [all-recursive] Error 1



               
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail