[Boost-bugs] [Boost C++ Libraries] #4214: Use collection_size_type/version_type consistently (fixes Boost.MPI)

Subject: [Boost-bugs] [Boost C++ Libraries] #4214: Use collection_size_type/version_type consistently (fixes Boost.MPI)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-05-14 03:46:57


#4214: Use collection_size_type/version_type consistently (fixes Boost.MPI)
-------------------------------------+--------------------------------------
 Reporter: dgregor | Owner: ramey
     Type: Patches | Status: new
Milestone: To Be Determined | Component: serialization
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------+--------------------------------------
 Boost.MPI has some special archivers (e.g., ignore_skeleton_oarchive) that
 ignore some of the structural aspects of serializing data. It does so by
 recognizing attempts to serialize values of type collection_size_type and
 version_type and then silently ignoring them which, in the narrow domain
 that ignore_skeleton_oarchive is used, works well. The current crop of
 failures in the MPI library (skeleton_content_test-* are failing
 sporadically) all appears due to inconsistent use of
 collection_size_type/version_type.

 The attached patch updates the serialization library to use
 collection_size_type and version_type consistently. Tests pass for GCC and
 Clang with both the Serialization and MPI libraries, and this ends up
 fixing a pretty serious regression in the MPI library.

 Currently, Boost.MPI is broken on both trunk and the release branch
 because

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4214>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:03 UTC