Login  Register

Re: QL 0.3.6 with gcc 2.95?

Posted by Luigi Ballabio-2 on Nov 15, 2004; 9:22am
URL: http://quantlib.414.s1.nabble.com/QL-0-3-6-with-gcc-2-95-tp3417p3418.html

Michael,

On 2004.11.14 13:09, [hidden email] wrote:

> Ok, just a followup to my first mail from Firday.
> QL 0.3.7, when trying to compile with gcc 2.95, does not even pass  
> configure.
>
> QL 0.3.6 in fact does configure properly. It seems to work fine until it  
> gets to linearinterpolation.hpp (or cubicspline.hpp) where gcc leaves me  
> with an
>
> ../../ql/Math/linearinterpolation.hpp:36: Internal compiler error
> ../../ql/Math/cubicspline.hpp:90: Internal compiler error
>
> I know either 0.3.6 and gcc 2.95 are more or less obsolete but if  
> somebody had a solution available I'd be greatful.

I'll try (emphasis on "try") and fix this for next release.

Nando: it will involve copying the data inside the interpolation object  
instead of just storing iterators. I'll do this for all compilers as it  
would be nightmarish to keep two widely different implementations. On the  
other hand, it might simplify the code :)
Any objection?

Later,
        Luigi