[prev in list] [next in list] [prev in thread] [next in thread]
List: boost-bugs
Subject: [Boost-bugs] [Boost C++ Libraries] #2151: Cannot build MPI
From: "Boost C++ Libraries" <noreply () lists ! boost ! org>
Date: 2008-07-28 20:07:41
Message-ID: 040.36e894bbb179a1f1f5536c614b7cab49 () lists ! boost ! org
[Download RAW message or body]
#2151: Cannot build MPI datatypes for enumeration types
----------------------------------+-----------------------------------------
Reporter: dgregor | Owner: dgregor
Type: Bugs | Status: new
Milestone: Boost 1.37.0 | Component: mpi
Version: Boost Release Branch | Severity: Problem
Keywords: |
----------------------------------+-----------------------------------------
When building MPI datatypes for enumeration types for which
is_mpi_datatype is true, Boost.MPI ends up building a broken MPI datatype
that causes segmentation faults. The problem seems to be that
load_enum_type and save_enum_type (in boost/archive/iserializer.hpp and
boost/archive/oserializer.hpp, respectively) actually perform the
serialization call on an "int" rather than on the enum itself, causing the
mpi_datatype_oarchive to receive an address on the stack.
Full test case is attached.
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/2151>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.
_______________________________________________
Boost-bugs mailing list
Boost-bugs@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic