Boost logo

Boost-Commit :

From: ramey_at_[hidden]
Date: 2007-11-27 01:18:00


Author: ramey
Date: 2007-11-27 01:17:59 EST (Tue, 27 Nov 2007)
New Revision: 41410
URL: http://svn.boost.org/trac/boost/changeset/41410

Log:
failing only two tests in gcc! Unfortunately, fixing the error requires extended type info to be a little bit more elaborate. So I'm doing a check in now
Text files modified:
   branches/serialization_next_release/boost/boost/archive/codecvt_null.hpp | 4 ++--
   branches/serialization_next_release/boost/boost/archive/detail/iserializer.hpp | 1 -
   branches/serialization_next_release/boost/boost/archive/detail/oserializer.hpp | 7 +++----
   branches/serialization_next_release/boost/boost/archive/detail/register_archive.hpp | 2 --
   4 files changed, 5 insertions(+), 9 deletions(-)

Modified: branches/serialization_next_release/boost/boost/archive/codecvt_null.hpp
==============================================================================
--- branches/serialization_next_release/boost/boost/archive/codecvt_null.hpp (original)
+++ branches/serialization_next_release/boost/boost/archive/codecvt_null.hpp 2007-11-27 01:17:59 EST (Tue, 27 Nov 2007)
@@ -59,7 +59,7 @@
 template<>
 class codecvt_null<wchar_t> : public std::codecvt<wchar_t, char, std::mbstate_t>
 {
- virtual BOOST_ARCHIVE_DECL(std::codecvt_base::result)
+ virtual BOOST_WARCHIVE_DECL(std::codecvt_base::result)
     do_out(
         std::mbstate_t & state,
         const wchar_t * first1,
@@ -69,7 +69,7 @@
         char * last2,
         char * & next2
     ) const;
- virtual BOOST_ARCHIVE_DECL(std::codecvt_base::result)
+ virtual BOOST_WARCHIVE_DECL(std::codecvt_base::result)
     do_in(
         std::mbstate_t & state,
         const char * first1,

Modified: branches/serialization_next_release/boost/boost/archive/detail/iserializer.hpp
==============================================================================
--- branches/serialization_next_release/boost/boost/archive/detail/iserializer.hpp (original)
+++ branches/serialization_next_release/boost/boost/archive/detail/iserializer.hpp 2007-11-27 01:17:59 EST (Tue, 27 Nov 2007)
@@ -40,7 +40,6 @@
 #include <boost/detail/no_exceptions_support.hpp>
 
 #include <boost/type_traits/is_pointer.hpp>
-#include <boost/type_traits/is_fundamental.hpp>
 #include <boost/type_traits/is_enum.hpp>
 #include <boost/type_traits/is_const.hpp>
 #include <boost/type_traits/remove_const.hpp>

Modified: branches/serialization_next_release/boost/boost/archive/detail/oserializer.hpp
==============================================================================
--- branches/serialization_next_release/boost/boost/archive/detail/oserializer.hpp (original)
+++ branches/serialization_next_release/boost/boost/archive/detail/oserializer.hpp 2007-11-27 01:17:59 EST (Tue, 27 Nov 2007)
@@ -32,7 +32,6 @@
 #include <boost/static_warning.hpp>
 
 #include <boost/type_traits/is_pointer.hpp>
-#include <boost/type_traits/is_fundamental.hpp>
 #include <boost/type_traits/is_enum.hpp>
 #include <boost/type_traits/is_volatile.hpp>
 #include <boost/type_traits/is_const.hpp>
@@ -347,11 +346,11 @@
             const T & t,
             const basic_pointer_oserializer * bpos_ptr
         ){
- const boost::serialization::type_info_implementation<T>::type & i
- = boost::serialization::type_info_implementation<T>::type
+ BOOST_DEDUCED_TYPENAME boost::serialization::type_info_implementation<T>::type
+ const & i = boost::serialization::type_info_implementation<T>::type
                     ::get_const_instance();
 
- const boost::serialization::extended_type_info * this_type = & i;
+ boost::serialization::extended_type_info const * const this_type = & i;
 
             // retrieve the true type of the object pointed to
             // if this assertion fails its an error in this library

Modified: branches/serialization_next_release/boost/boost/archive/detail/register_archive.hpp
==============================================================================
--- branches/serialization_next_release/boost/boost/archive/detail/register_archive.hpp (original)
+++ branches/serialization_next_release/boost/boost/archive/detail/register_archive.hpp 2007-11-27 01:17:59 EST (Tue, 27 Nov 2007)
@@ -4,8 +4,6 @@
 #ifndef BOOST_ARCHIVE_DETAIL_REGISTER_ARCHIVE_DWA2006521_HPP
 # define BOOST_ARCHIVE_DETAIL_REGISTER_ARCHIVE_DWA2006521_HPP
 
-//# include <boost/type_traits/add_pointer.hpp>
-
 namespace boost { namespace archive { namespace detail {
 
 template <class Archive, class Serializable>


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