List Info

Thread: /EH option




/EH option
user name
2006-03-15 15: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:

http://tinyurl.com/dq5x8

Gennadiy 



_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )