From: David Abrahams (dave_at_[hidden])
Date: 2003-09-21 03:40:12
"carlos pizano" <carlospizano_at_[hidden]> writes:
>> I don't know what execution_monitor is doing, but the
>> _set_se_translator technique described in
>> http://www.boost.org/more/error_handling.html doesn't require /EHa.
> Dave, I think we are talking about the same _set_se_translator
The question is, are we talking about a translator that does
something other than
> I did a quick check and the MSDN documentation that comes with my
> compiler (VC.Net 2003) says:
> " Use /EHa instead of /EHsc when using _set_se_translator."
> I don't see any qualification to this warning on the docs.
They never intended _set_se_translator to be used that way, though.
> Moreover, I did a quick console application with _set_se_translator and
> during compile I get:
> warning C4535: calling _set_se_translator() requires /EHa
> the command line options /EHc and /GX are insufficient
> Are you using maybe an earlier compiler?
No, I'm disabling the warning with pragmas. The technique works fine.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk