Re: Quantlib build problem

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Quantlib build problem

Xavier.Abulker

Hello Steinar,
you're absolutely correct, it works now perfectly.
Thank you very much for your help.
Xavier



Steinar Rune Eriksen <[hidden email]>

06/09/2004 20:52

       
        To:        [hidden email]
        cc:        [hidden email]
        Subject:        Quantlib build problem



Hi

I am not on the Quantlib mailinglist but while troubling to build 0.3.7
i found some discussions about a problem that some of the other guys
could not reproduce. ”Internal compiler error” when compiling
cubicspline.hpp with VC6

I got the same thing and I managed to get rid of it by removing
”Maximize for speed” as a compiler option.


--
Steinar Rune Eriksen
BIZ Partner
Tel:    (+47) 67 57 15 52
Mobile: (+47) 90 52 81 48
http://www.bizpartner.no


Reply | Threaded
Open this post in threaded view
|

Re: Re: Quantlib build problem

Ferdinando M. Ametrano-3
Hi Xavier, Steinar

you wrote that removing the "Maximize for speed" option solved your problem
with VC6 and cubicspline.hpp

Luigi and I haven't been able to reproduce the problem, anyway I might
consider removing that option for 0.3.8
Was it enough to remove it only for the cubicspline.hpp file, or you had to
remove it for the whole project?

thank you

ciao -- Nando

PS what about the patch level of your VC6 installation? If memory serves I
am using patch 5...



Reply | Threaded
Open this post in threaded view
|

Re: Re: Quantlib build problem

Xavier.Abulker

Nando,
I've removed this option from the whole project, just before compiling the quantlib library:

thanks
Xavier


Ferdinando Ametrano <[hidden email]>
Sent by: [hidden email]

07/09/2004 09:45

       
        To:        [hidden email], Steinar Rune Eriksen <[hidden email]>
        cc:        QuantLib-users <[hidden email]>
        Subject:        Re: [Quantlib-users] Re: Quantlib build problem



Hi Xavier, Steinar

you wrote that removing the "Maximize for speed" option solved your problem
with VC6 and cubicspline.hpp

Luigi and I haven't been able to reproduce the problem, anyway I might
consider removing that option for 0.3.8
Was it enough to remove it only for the cubicspline.hpp file, or you had to
remove it for the whole project?

thank you

ciao -- Nando

PS what about the patch level of your VC6 installation? If memory serves I
am using patch 5...



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Quantlib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users

Reply | Threaded
Open this post in threaded view
|

Re: Re: Quantlib build problem

Ferdinando M. Ametrano-3
In reply to this post by Ferdinando M. Ametrano-3
Hi all

thanks to Steinar's help we solved and understood VC6 "internal compiler
error" when compiling QuantLib 0.3.7

There are 2 distinct solutions:
a) patch your VC6 installation with Service Pack 5
b) keep your old Service Pack and just disable the "Maximize for speed"
option for the project

Solution (a) is the strongly suggested one, of course.

In the bug archive:
http://sourceforge.net/tracker/index.php?func=detail&aid=1023663&group_id=12740&atid=112740

ciao -- Nando



Reply | Threaded
Open this post in threaded view
|

Re: Re: Quantlib build problem

Nicolas Di Césaré
Le mar 07/09/2004 à 15:07, Ferdinando Ametrano a écrit :
> Hi all
>
> thanks to Steinar's help we solved and understood VC6 "internal compiler
> error" when compiling QuantLib 0.3.7
>
> There are 2 distinct solutions:
> a) patch your VC6 installation with Service Pack 5
> b) keep your old Service Pack and just disable the "Maximize for speed"
> option for the project

Hi all,

I have resolved a similar problem (compiling with VC6+SP5 and Internal
Compiler Error with VC6) by disabling inlining feature using \0i- flag.
The compiler failed to inline the same fonction call in a expression
more than once.


--
Nicolas Di Césaré <[hidden email]>