From: carlos pizano (carlospizano_at_[hidden])
Date: 2003-09-21 18:14:38
> It's probably a good idea to post in the Microsoft newsgroups
> for specific compiler issues.
But is not a MS compiler issue. It works as advertised if you follow
their recommendation: use /EHa. The boost implementation of
execution_monitor is what I want to improve.
> FWIW, when David pointed me to his article (thanks again David)
> I came to same the same conclusion myself (that is, that /EHa
> is _not_ required for this technique).
a) What article?
b) Why is not required? According to David under /EHs the compiler is
free to optimize away exception frames if it does not see code that can
throw, now if eventually *the technique* generates a C++ throw who knows
what could happen?
I would be nice if somebody cares to explain in some detail why the
technique works fine as is.
[mailto:boost-bounces_at_[hidden]] On Behalf Of Holger Grund
Sent: Sunday, September 21, 2003 3:34 PM
Subject: [boost] Re: Re: boost::execution_monitor impl under windows
> > No, I'm disabling the warning with pragmas. The technique works
> I don't think so. Well, it can fail. See Carl Daniel post on 9/21. I
> the thread(s) on comp.lang.c++.moderated about the subject but nobody
> mentioned the interaction of the *technique* with /EHs at that time.
It's probably a good idea to post in the Microsoft newsgroups
for specific compiler issues.
FWIW, when David pointed me to his article (thanks again David)
I came to same the same conclusion myself (that is, that /EHa
is _not_ required for this technique).
Unsubscribe & other changes:
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk