On Wed, 04 Dec 2002 10:07:48 -0500, David Abrahams
<[EMAIL PROTECTED]> wrote:


>No. There are several instances like the one I cited in our test suite
>(the function lib, I think).

Now I see, thanks. Unfortunately this is one of those typical
situations where if one writes the code in order to silent a warning
(or worse, an error) with a given compiler he gets the opposite
warning (in this case an "unreachable code") with others. With simple
functions like e.g.


   int f() { throw xyz(); }

one can get out of trouble with a (well-commented)

   int f() { return throw xyz(), 0; }


but I don't know if that's ok for your case (and anyway whether you
find it preferable to a macro)


Genny.


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to