On 03/16/2015 01:21 PM, Steven Watanabe wrote:
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.
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