Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62228 - trunk/boost/test/impl
From: DDeakins_at_[hidden]
Date: 2010-05-26 00:07:37


Author: davedeakins
Date: 2010-05-26 00:07:36 EDT (Wed, 26 May 2010)
New Revision: 62228
URL: http://svn.boost.org/trac/boost/changeset/62228

Log:
Windows CE does not support returning from functions inside the _try/__except handler.
Text files modified:
   trunk/boost/test/impl/execution_monitor.ipp | 6 +++++-
   1 files changed, 5 insertions(+), 1 deletions(-)

Modified: trunk/boost/test/impl/execution_monitor.ipp
==============================================================================
--- trunk/boost/test/impl/execution_monitor.ipp (original)
+++ trunk/boost/test/impl/execution_monitor.ipp 2010-05-26 00:07:36 EDT (Wed, 26 May 2010)
@@ -1084,9 +1084,11 @@
 
     detail::system_signal_exception SSE( this );
     
+ int ret_val = 0;
+
     __try {
         __try {
- return detail::do_invoke( m_custom_translators, F );
+ ret_val = detail::do_invoke( m_custom_translators, F );
         }
         __except( SSE( GetExceptionCode(), GetExceptionInformation() ) ) {
             throw SSE;
@@ -1099,6 +1101,8 @@
            _set_invalid_parameter_handler( old_iph );
         }
     }
+
+ return ret_val;
 }
 
 //____________________________________________________________________________//


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk