|
From: P N. <pn...@gm...> - 2010-06-11 01:49:18
|
Good morning all,
Due to the current quantlib compiler settings, access violations are not
caught with catch(...)
as a result we can have some rather ungraceful crashes.
I wonder are there reasons why the settings are the way they are?
I'd suggest changing the settings.
To do this in MS Visual C++ 2008, click on:
* Project -> Properties -> Configuration Properties -> C/C++ -> Code
Generatoin
*and set:
* Enable C++ Exceptions
*to
* Yes With SEH Exceptions (/EHa)
*rather than
Yes ( /EHsc)
Here are some details of the compiler settings:
http://msdn.microsoft.com/en-us/library/1deeycx5.aspx
Right now, when I use the quantlib XL addin in excel ( 2007 ) as excel is
closes it crashes ( almost always).
There are two problems with this,
1: some error is thrown
2: the error is not caught
By changing the settings above we can at least solve number 2.
Cheers
Philip
|