EHsc vc EHa (synchronous vs asynchronous exception handling)
- by watson1180
Could you give a bullet list of practical differences/implication? I read relevant MSDN article, but my understanding asynchronous exceptions is still a bit hazy.
I am writing a test suite using Boost.Test and my compiler emits a warning that EHa should be enabled:
warning C4535: calling _set_se_translator() requires /EHa
The project itself uses only plain exceptions (from STL) and doesn't need /EHa switch. Do I have to recompile it with /EHa switch to make the test suite work properly? My feeling is that I need /EHa for the test suit only.
Thank you and happy new year.