Boost logo

Boost :

Subject: Re: [boost] Running b2 on develop needs asynch-exceptions=on
From: John Maddock (jz.maddock_at_[hidden])
Date: 2015-03-16 15:21:11


> I've looked through the Boost.Test source, and
> I /think/ that Boost.Test does not need to
> be built with /EHa.
>
> /EHa has two effects:
> a) catch(...) will handle SEH exceptions. Boost.Test
> uses __try/__except, so this shouldn't matter.
> b) SEH exceptions will unwind the stack properly.
> As far as I can tell, Boost.Test itself doesn't
> put anything critical on the stack before calling
> into user code.

What about the warning from execution_monitor.cpp saying that /EHa *is*
required?

John.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk