Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r54835 - in trunk: boost/exception libs/exception/test
From: emil_at_[hidden]
Date: 2009-07-09 13:34:40


Author: emildotchevski
Date: 2009-07-09 13:34:39 EDT (Thu, 09 Jul 2009)
New Revision: 54835
URL: http://svn.boost.org/trac/boost/changeset/54835

Log:
Fixing Sun compile errors
Text files modified:
   trunk/boost/exception/errinfo_errno.hpp | 1 +
   trunk/libs/exception/test/errinfos_test.cpp | 2 +-
   2 files changed, 2 insertions(+), 1 deletions(-)

Modified: trunk/boost/exception/errinfo_errno.hpp
==============================================================================
--- trunk/boost/exception/errinfo_errno.hpp (original)
+++ trunk/boost/exception/errinfo_errno.hpp 2009-07-09 13:34:39 EDT (Thu, 09 Jul 2009)
@@ -8,6 +8,7 @@
 
 #include "boost/exception/info.hpp"
 #include <errno.h>
+#include <string.h>
 
 namespace
 boost

Modified: trunk/libs/exception/test/errinfos_test.cpp
==============================================================================
--- trunk/libs/exception/test/errinfos_test.cpp (original)
+++ trunk/libs/exception/test/errinfos_test.cpp 2009-07-09 13:34:39 EDT (Thu, 09 Jul 2009)
@@ -42,7 +42,7 @@
         BOOST_TEST(false);
         }
     catch(
- exception & e )
+ boost::exception & e )
         {
         BOOST_TEST(get_error_info<errinfo_api_function>(e) && *get_error_info<errinfo_api_function>(e)==std::string("failed_api_function"));
         BOOST_TEST(get_error_info<errinfo_at_line>(e) && *get_error_info<errinfo_at_line>(e)==42);


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