|
Boost Users : |
Subject: Re: [Boost-users] order of headers with Boost.Serialization and Boost.MPI
From: Riccardo Murri (riccardo.murri_at_[hidden])
Date: 2010-10-23 04:01:15
On Sat, Oct 23, 2010 at 5:33 AM, Matthias Troyer <troyer_at_[hidden]> wrote:
>
> On 22 Oct 2010, at 15:34, Riccardo Murri wrote:
>
>> Hello,
>>
>> I'm writing a code that uses Boost.MPI to send some GMP
>> (http://gmplib.org/) datatypes around.
>> Since I do not want to change GMP, I'm using the "non-intrusive"
>> serialization support (code in attached
>> file "gmpxx_boost_serialization.hpp"). Â However, I'm running into a
>> strange include-order mess:
>>
>> * If I include first my "gmpxx_boost_serialization.hpp" and _then_
>> "boost/mpi.h", then I get a slew of errors (attached file
>> "errors.txt")
>>
>> * If I reverse the include order, and include "boost/mpi.h" _first_,
>> then everything compiles fine.
>>
>> Is this to be expected, or am I doing something wrong in my code?
>>
>> For the record, I'm compiling on Ubuntu 10.10, gcc 4.4.5, arch. amd64.
>
>
> Which Boost version is this?
>
1.44.0
Best regards,
Riccardo
-- Riccardo Murri, Hadlaubstr. 150, 8006 Zürich (CH)
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net