Skip to content

Commit

Permalink
Merge pull request #1554 from STEllAR-GROUP/export_serialization
Browse files Browse the repository at this point in the history
Removing obsolete Boost.Serialization macros.
  • Loading branch information
hkaiser committed May 28, 2015
2 parents 02e515f + b13fa81 commit 64b3aeb
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 11 deletions.
8 changes: 0 additions & 8 deletions hpx/config/export_definitions.hpp
Expand Up @@ -77,12 +77,4 @@
# define HPX_ALWAYS_EXPORT HPX_SYMBOL_IMPORT
#endif

// Boost.Serialization fails to export some symbols correctly on gcc with hidden visibility if
// we don't manually define these macros
#if !defined(BOOST_MSVC) && !defined(BOOST_INTEL_WIN) && defined(HPX_SERIALIZATION_EXPORTS)
# define BOOST_ARCHIVE_DECL(T) HPX_ALWAYS_EXPORT T
# define BOOST_WARCHIVE_DECL(T) HPX_ALWAYS_EXPORT T
# define BOOST_ARCHIVE_OR_WARCHIVE_DECL(T) HPX_ALWAYS_EXPORT T
#endif

#endif
2 changes: 1 addition & 1 deletion hpx/runtime/serialization/basic_archive.hpp
Expand Up @@ -44,7 +44,7 @@ namespace hpx { namespace serialization
}

template <typename Archive>
struct basic_archive
struct HPX_EXPORT basic_archive
{
static const boost::uint64_t npos = -1;

Expand Down
2 changes: 1 addition & 1 deletion hpx/runtime/serialization/input_archive.hpp
Expand Up @@ -23,7 +23,7 @@

namespace hpx { namespace serialization
{
struct HPX_ALWAYS_EXPORT input_archive
struct HPX_EXPORT input_archive
: basic_archive<input_archive>
{
typedef basic_archive<input_archive> base_type;
Expand Down
2 changes: 1 addition & 1 deletion hpx/runtime/serialization/output_archive.hpp
Expand Up @@ -22,7 +22,7 @@

namespace hpx { namespace serialization
{
struct HPX_ALWAYS_EXPORT output_archive
struct HPX_EXPORT output_archive
: basic_archive<output_archive>
{
typedef basic_archive<output_archive> base_type;
Expand Down

0 comments on commit 64b3aeb

Please sign in to comment.