2
0
mirror of https://github.com/boostorg/mpi.git synced 2026-02-25 04:22:17 +00:00

Silence -Wunused warnings and switch to boost/serialization/pfto.hpp

[SVN r48610]
This commit is contained in:
Douglas Gregor
2008-09-05 13:39:26 +00:00
parent 50d308c6ad
commit 74fe28d6b5
6 changed files with 6 additions and 6 deletions

View File

@@ -27,7 +27,7 @@ namespace detail {
template<typename T, typename Op>
void
all_reduce_impl(const communicator& comm, const T* in_values, int n,
T* out_values, Op op, mpl::true_ /*is_mpi_op*/,
T* out_values, Op /*op*/, mpl::true_ /*is_mpi_op*/,
mpl::true_ /*is_mpi_datatype*/)
{
BOOST_MPI_CHECK_RESULT(MPI_Allreduce,

View File

@@ -9,7 +9,7 @@
#ifndef BOOST_MPI_DETAIL_FORWARD_SKELETON_IARCHIVE_HPP
#define BOOST_MPI_DETAIL_FORWARD_SKELETON_IARCHIVE_HPP
#include <boost/pfto.hpp>
#include <boost/serialization/pfto.hpp>
#include <boost/archive/detail/auto_link_archive.hpp>
#include <boost/archive/detail/iserializer.hpp>

View File

@@ -9,7 +9,7 @@
#ifndef BOOST_MPI_DETAIL_FORWARD_SKELETON_OARCHIVE_HPP
#define BOOST_MPI_DETAIL_FORWARD_SKELETON_OARCHIVE_HPP
#include <boost/pfto.hpp>
#include <boost/serialization/pfto.hpp>
#include <boost/archive/detail/auto_link_archive.hpp>
#include <boost/archive/detail/oserializer.hpp>

View File

@@ -9,7 +9,7 @@
#ifndef BOOST_MPI_DETAIL_IGNORE_SKELETON_OARCHIVE_HPP
#define BOOST_MPI_DETAIL_IGNORE_SKELETON_OARCHIVE_HPP
#include <boost/pfto.hpp>
#include <boost/serialization/pfto.hpp>
#include <boost/archive/detail/auto_link_archive.hpp>
#include <boost/archive/detail/common_oarchive.hpp>

View File

@@ -100,7 +100,7 @@ public:
// Load it directly using the primnivites
template<class T>
void load_override(T& x, int version, mpl::true_)
void load_override(T& x, int /*version*/, mpl::true_)
{
iprimitive::load(x);
}

View File

@@ -90,7 +90,7 @@ public:
// Save it directly using the primnivites
template<class T>
void save_override(T const& x, int version, mpl::true_)
void save_override(T const& x, int /*version*/, mpl::true_)
{
oprimitive::save(x);
}