Boost logo

Boost-Commit :

From: emil_at_[hidden]
Date: 2008-04-07 15:00:45


Author: emildotchevski
Date: 2008-04-07 15:00:45 EDT (Mon, 07 Apr 2008)
New Revision: 44104
URL: http://svn.boost.org/trac/boost/changeset/44104

Log:
fixed compile errors on various platforms
Text files modified:
   trunk/boost/exception/cloning.hpp | 1 +
   trunk/boost/exception/info_tuple.hpp | 6 +++---
   trunk/boost/exception/to_string_stub.hpp | 1 +
   3 files changed, 5 insertions(+), 3 deletions(-)

Modified: trunk/boost/exception/cloning.hpp
==============================================================================
--- trunk/boost/exception/cloning.hpp (original)
+++ trunk/boost/exception/cloning.hpp 2008-04-07 15:00:45 EDT (Mon, 07 Apr 2008)
@@ -9,6 +9,7 @@
 #include <boost/exception/enable_exception_cloning.hpp>
 #include <boost/exception/exception.hpp>
 #include <boost/exception/detail/cloning_base.hpp>
+#include <exception>
 
 namespace
 boost

Modified: trunk/boost/exception/info_tuple.hpp
==============================================================================
--- trunk/boost/exception/info_tuple.hpp (original)
+++ trunk/boost/exception/info_tuple.hpp 2008-04-07 15:00:45 EDT (Mon, 07 Apr 2008)
@@ -23,7 +23,7 @@
                         error_info<Tag1,T1>,
                         error_info<Tag2,T2> > const & v )
                 {
- return x << v.get<0>() << v.get<1>();
+ return x << v.template get<0>() << v.template get<1>();
                 }
 
         template <
@@ -39,7 +39,7 @@
                         error_info<Tag2,T2>,
                         error_info<Tag3,T3> > const & v )
                 {
- return x << v.get<0>() << v.get<1>() << v.get<2>();
+ return x << v.template get<0>() << v.template get<1>() << v.template get<2>();
                 }
 
         template <
@@ -57,7 +57,7 @@
                         error_info<Tag3,T3>,
                         error_info<Tag4,T4> > const & v )
                 {
- return x << v.get<0>() << v.get<1>() << v.get<2>() << v.get<3>();
+ return x << v.template get<0>() << v.template get<1>() << v.template get<2>() << v.template get<3>();
                 }
         }
 

Modified: trunk/boost/exception/to_string_stub.hpp
==============================================================================
--- trunk/boost/exception/to_string_stub.hpp (original)
+++ trunk/boost/exception/to_string_stub.hpp 2008-04-07 15:00:45 EDT (Mon, 07 Apr 2008)
@@ -8,6 +8,7 @@
 
 #include <boost/exception/to_string.hpp>
 #include <iomanip>
+#include <typeinfo>
 
 namespace
 boost


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