
On Sat, Oct 23, 2010 at 5:33 AM, Matthias Troyer
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)