Boost logo

Boost-Build :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2006-03-15 10:16:26

> Q: Is it possible to move the SEH logic into a CPP file and only use the
> SEH option for that file?

It is in a single file. But I don't think you could specify /EHa only for
this file. I may be wrong though

> Q: How do asynchronous exceptions interact with C++ exceptions? If you are
> using C++ exceptions that require /EHs in a file that you want to test,
> will that work?

What does that mean: "C++ exceptions that require /EHs"?

>> 3. Should that flag be added only for complication of unit test
>> framework, all
>> Boost.Test, or all programs that use the unit test framework.
> It depends where SEHs are being used. The Microsoft compiler will issue a
> warning if the wrong /EH option is being used.

My guess - both.

>> In fact, V2 Jamfile has the following line:
>> <toolset>msvc:<asynch-exceptions>on
>> which probably has something to do with /EHa, but without further
>> information,
>> or testing on your end, I can't really say if that's what you want, or
>> not.
> That adds the correct /EHa option. Dave did the work a while ago to add
> this support in V2.

That's really all I need to know. The question remains why this fails:


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at