Re: piecewiseyoyinflationcurve: compilation error using MS VC9 (2008)

Posted by Andreas Spengler-2 on
URL: http://quantlib.414.s1.nabble.com/piecewiseyoyinflationcurve-compilation-error-using-MS-VC9-2008-tp12640p12643.html

Hi,

Es schrieb Luigi Ballabio

>> I don't know whether you want to put this in the repository, though ;-)
>
> Only conditionally... Let's try to turn this into a configure test.
> I've stripped the guilty file to a minimum and I'm attaching it to this
> post. Can you check that if you run
>     g++ -c test.cpp
> (or whatever your C++ compiler is called) it does NOT compile, but it
> does when you remove the "class" keyword?

Will do.

> P.S. Another try: does the original file compile if you keep the
> "class", but replace this_curve in the friend declaration with the full
> type? (Piecewise...<Interpolation,etc.etc>)

I tried this already, and no, it doesn't...

Rgds,

Andreas


------------------------------------------------------------------------------
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