Login  Register

Re: Compilation problems with SUN CC

Posted by Luigi Ballabio on Feb 20, 2009; 2:39pm
URL: http://quantlib.414.s1.nabble.com/Compilation-problems-with-SUN-CC-tp12581p12583.html

On Fri, 2009-02-20 at 15:03 +0100, Andreas Spengler wrote:
> > Can you send me a list of those?
>
> Course. The following files had to be adapted because of missing std::
> qualifier before some mathematical functions:
>
> [...list of files...]

Can you send me a diff of those, so we're sure I don't miss some
instance? (Just send it to me, it will probably be too large for the
list.)

> In ./ql/instruments/bond.cpp I had to do the following change, because you
> can't modify a const iterator:

These two are strange.  You _can_ modify a const iterator (you wouldn't
be able to iterate otherwise, which kind of defeats the whole
purpose...) You just can't modify the object it points to.  What was the
error message?


> Now I only keep getting an error in
> ql/models/marketmodels/models/alphafinder.cpp (maybe because of the empty
> namespace surrounding the declaration):

Does it compile if you remove the surrounding namespace?

Thanks,
        Luigi


--

The young man knows the rules, but the old man knows the exceptions.
-- O. W. Holmes



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev