|
Boost-Commit : |
From: bdawes_at_[hidden]
Date: 2007-10-09 12:39:14
Author: bemandawes
Date: 2007-10-09 12:39:13 EDT (Tue, 09 Oct 2007)
New Revision: 39848
URL: http://svn.boost.org/trac/boost/changeset/39848
Log:
Apply dll fixes from David Deakins
Text files modified:
trunk/boost/archive/codecvt_null.hpp | 5 +++--
trunk/boost/archive/detail/basic_oarchive.hpp | 7 +++----
trunk/boost/archive/detail/interface_iarchive.hpp | 6 +++---
trunk/boost/archive/detail/interface_oarchive.hpp | 6 +++---
trunk/libs/serialization/src/codecvt_null.cpp | 1 +
5 files changed, 13 insertions(+), 12 deletions(-)
Modified: trunk/boost/archive/codecvt_null.hpp
==============================================================================
--- trunk/boost/archive/codecvt_null.hpp (original)
+++ trunk/boost/archive/codecvt_null.hpp 2007-10-09 12:39:13 EDT (Tue, 09 Oct 2007)
@@ -20,6 +20,7 @@
#include <cstddef>
#include <boost/config.hpp>
+#include <boost/archive/detail/auto_link_archive.hpp>
namespace std{
#if defined(__LIBCOMO__)
@@ -58,7 +59,7 @@
template<>
class codecvt_null<wchar_t> : public std::codecvt<wchar_t, char, std::mbstate_t>
{
- virtual std::codecvt_base::result
+ virtual BOOST_ARCHIVE_DECL(std::codecvt_base::result)
do_out(
std::mbstate_t & state,
const wchar_t * first1,
@@ -68,7 +69,7 @@
char * last2,
char * & next2
) const;
- virtual std::codecvt_base::result
+ virtual BOOST_ARCHIVE_DECL(std::codecvt_base::result)
do_in(
std::mbstate_t & state,
const char * first1,
Modified: trunk/boost/archive/detail/basic_oarchive.hpp
==============================================================================
--- trunk/boost/archive/detail/basic_oarchive.hpp (original)
+++ trunk/boost/archive/detail/basic_oarchive.hpp 2007-10-09 12:39:13 EDT (Tue, 09 Oct 2007)
@@ -71,16 +71,15 @@
public:
// note: NOT part of the public interface
void register_basic_serializer(
- const BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY()) basic_oserializer & bos
+ const basic_oserializer & bos
);
void save_object(
const void *x,
- const BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY()) basic_oserializer & bos
+ const basic_oserializer & bos
);
void save_pointer(
const void * t,
- const BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY())
- basic_pointer_oserializer * bpos_ptr
+ const basic_pointer_oserializer * bpos_ptr
);
void save_null_pointer(){
vsave(NULL_POINTER_TAG);
Modified: trunk/boost/archive/detail/interface_iarchive.hpp
==============================================================================
--- trunk/boost/archive/detail/interface_iarchive.hpp (original)
+++ trunk/boost/archive/detail/interface_iarchive.hpp 2007-10-09 12:39:13 EDT (Tue, 09 Oct 2007)
@@ -32,7 +32,7 @@
namespace archive {
namespace detail {
-class BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY()) basic_pointer_iserializer;
+class BOOST_ARCHIVE_OR_WARCHIVE_DECL(BOOST_PP_EMPTY()) basic_pointer_iserializer;
template<class Archive>
class interface_iarchive
@@ -51,9 +51,9 @@
}
template<class T>
- const BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY()) basic_pointer_iserializer *
+ const basic_pointer_iserializer *
register_type(T * = NULL){
- const BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY()) basic_pointer_iserializer & bpis =
+ const basic_pointer_iserializer & bpis =
pointer_iserializer<Archive, T>::get_instance();
this->This()->register_basic_serializer(bpis.get_basic_serializer());
return & bpis;
Modified: trunk/boost/archive/detail/interface_oarchive.hpp
==============================================================================
--- trunk/boost/archive/detail/interface_oarchive.hpp (original)
+++ trunk/boost/archive/detail/interface_oarchive.hpp 2007-10-09 12:39:13 EDT (Tue, 09 Oct 2007)
@@ -32,7 +32,7 @@
namespace archive {
namespace detail {
-class BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY()) basic_pointer_oserializer;
+class BOOST_ARCHIVE_OR_WARCHIVE_DECL(BOOST_PP_EMPTY()) basic_pointer_oserializer;
template<class Archive>
class interface_oarchive
@@ -51,9 +51,9 @@
}
template<class T>
- const BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY()) basic_pointer_oserializer *
+ const basic_pointer_oserializer *
register_type(const T * = NULL){
- const BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY()) basic_pointer_oserializer & bpos =
+ const basic_pointer_oserializer & bpos =
pointer_oserializer<Archive, T>::get_instance();
this->This()->register_basic_serializer(bpos.get_basic_serializer());
return & bpos;
Modified: trunk/libs/serialization/src/codecvt_null.cpp
==============================================================================
--- trunk/libs/serialization/src/codecvt_null.cpp (original)
+++ trunk/libs/serialization/src/codecvt_null.cpp 2007-10-09 12:39:13 EDT (Tue, 09 Oct 2007)
@@ -7,6 +7,7 @@
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
+#define BOOST_ARCHIVE_SOURCE
#include <boost/archive/codecvt_null.hpp>
// codecvt implementation for passing wchar_t objects to char output
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