Boost logo

Boost :

Subject: Re: [boost] Running b2 on develop needs asynch-exceptions=on
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2015-03-17 01:31:22


On 03/17/2015 12:44 AM, Raffi Enficiaud wrote:
> Le 16/03/15 21:21, Steven Watanabe a écrit :
>> AMDG
>>
>> On 03/16/2015 02:06 PM, Raffi Enficiaud wrote:
>>>
>>> The MSDN documentation
>>> (https://msdn.microsoft.com/en-us/library/1deeycx5.aspx) states that
>>> managed code needs /EHa. This is a valid use of boost.test.
>>> To my understanding it also means that removing this option would break
>>> the currently existing test using managed code to work properly with the
>>> boost.test that is built out of the box.
>>>
>>
>> I think this is unavoidable if you depend on
>> Boost.System. Wouldn't Boost.System need
>> to be built with /EHa as well? We definitely
>> shouldn't build all of Boost with /EHa by default.
>>
>> In Christ,
>> Steven Watanabe
>>
>
> I agree that this is unavoidable. So the proposal here is to have the option "aynch-exception-on" visible and make the user be able to set it?

It's just an ordinary feature that the user can set on command line with

        b2 asynch-exceptions=on

-- 
Vladimir Prus
CodeSourcery / Mentor Embedded
http://vladimirprus.com

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