
22 Nov
2009
22 Nov
'09
9:20 p.m.
Florian Winter
Hi,
What is the intended behavior of Boost.Test if an unexpected exception is thrown? Example:
void do_not_throw() throw() { throw "unexpected"; }
Some of my applications using Boost.Test seem exit with an error code of 0 (successful) if an unexpected exception is thrown. Is this the intended behavior?
What compiler are you using? It seems that MSVC for example does not follow standard here: http://msdn.microsoft.com/en-us/library/7twc8dwy(VS.80).aspx gcc seems to be aborting the application. Gennadiy