Posted by
Xavier.Abulker on
URL: http://quantlib.414.s1.nabble.com/exception-handling-on-Unix-tp2545p2548.html
Hi Luigi,
thanks for this file,
just compiling like that it gives the same error "core dumped".
Now I'm going to remove all the -O3 in the compilation options and then
test again.
bye
Luigi Ballabio
<
[hidden email]> To:
[hidden email]
Sent by: cc:
[hidden email]
[hidden email] Subject: Re: [Quantlib-users] exception handling on Unix
eforge.net
21/05/2003 11:34
Xavier,
the attached file works as expected for me by just doing:
ballabl:~$ g++ foo.cpp -lQuantLib
ballabl:~$ ./a.out
solver1d.cpp:125: root not bracketed: f[0.0001000000,4.0000000000] ->
[-0.01000000000000000021,-0.00989983370038110579]
ballabl:~$
Can you try and see what happens for you? However, note that I'm using the
version of the library currently in cvs, not 0.3.1. Also, I'm using g++
3.2.3.
Good luck,
Luigi(See attached file: foo.cpp)
*************************************************************************
Ce message et toutes les pieces jointes (ci-apres le "message") sont
confidentiels et etablis a l'intention exclusive de ses destinataires.
Toute utilisation ou diffusion non autorisee est interdite.
Tout message electronique est susceptible d'alteration.
La Fimat et ses filiales declinent toute responsabilite au
titre de ce message s'il a ete altere, deforme ou falsifie.
********
This message and any attachments (the "message") are confidential and
intended solely for the addressees.
Any unauthorised use or dissemination is prohibited.
E-mails are susceptible to alteration.
Neither Fimat nor any of its subsidiaries or affiliates shall
be liable for the message if altered, changed or falsified.
*************************************************************************