Boost logo

Boost :

From: Stefan Slapeta (stefan_at_[hidden])
Date: 2005-03-29 03:06:15


Gennadiy Rozental wrote:
>
> What is a proper check for this?
>

naive suggestion:

@@ -196,8 +196,10 @@
      using unit_test::const_string;

  #if defined(BOOST_MS_STRCTURED_EXCEPTION_HANDLING) &&
!defined(__BORLANDC__)
+#ifndef __MWERKS__
      if( IsDebuggerPresent() )
          catch_system_errors = false;
+#endif

      if( catch_system_errors )
          _set_se_translator( detail::ms_se_trans_func );

Stefan


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk