Subject: Re: [boost] Running b2 on develop needs asynch-exceptions=on
From: Michael Caisse (mcaisse-lists_at_[hidden])
Date: 2015-03-16 17:49:51
On 03/16/2015 01:21 PM, Steven Watanabe wrote:
> 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.
Would adding a usage-requirement to Boost.Test resolve this? Only
targets that use Boost.Test would compile with the asynch-exceptions
flag turned 'on'.
-- Michael Caisse ciere consulting ciere.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk