[pkg-boost-devel] Bug#561407: [libboost-mpi1.40-dev] compilation error BOOST_MPL_ASSERT

Christophe Prud'homme prudhomm at debian.org
Wed Dec 16 22:04:36 UTC 2009


Package: libboost-mpi1.40-dev
Version: 1.40.0-4
Severity: serious

--- Please enter the report below this line. ---

in file /usr/include/boost/mpi/detail/mpi_datatype_oarchive.hpp line 64 there 
is a BOOST_MPL_ASSERT that fails to compile properly
comment the line out fixes the problem 

I put severity serious as the boost.mpi lib is unusable with this bug. Well 
editing the file can be done to fix it.

here is the error message

/usr/include/boost/mpi/detail/mpi_datatype_oarchive.hpp: In member function 
'void boost::mpi::detail::mpi_datatype_oarchive::save_enum(const T&, 
mpl_::true_)':                                                                                                               
/usr/include/boost/mpi/detail/mpi_datatype_oarchive.hpp:64: error: expected 
primary-expression before 'enum'                           
/usr/include/boost/mpi/detail/mpi_datatype_oarchive.hpp:64: error: expected 
';' before 'enum'         

here is the stack of include files

In file included from /usr/include/boost/mpi/detail/mpi_datatype_cache.hpp:13,                                                         
                 from /usr/include/boost/mpi/datatype.hpp:27,                                                                          
                 from /usr/include/boost/mpi/communicator.hpp:20,                                                                      
                 from /usr/include/boost/mpi/collectives.hpp:21,                                                                       
                 from /usr/include/boost/mpi.hpp:23,       

--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.31-1-amd64

Debian Release: squeeze/sid
  500 unstable        ftp.fr.debian.org 
  500 stable          dl.google.com 
    1 experimental    ftp.fr.debian.org 

--- Package information. ---
Depends                               (Version) | Installed
===============================================-+-=============
libboost1.40-dev                   (= 1.40.0-4) | 1.40.0-4
libboost-serialization1.40-dev     (= 1.40.0-4) | 1.40.0-4
libboost-mpi1.40.0                 (= 1.40.0-4) | 1.40.0-4
mpi-default-dev                                 | 0.6


Package's Recommends field is empty.

Suggests                    (Version) | Installed
=====================================-+-===========
libboost-graph1.40-dev                | 1.40.0-4





-- 
Debian Developer
Annecy - Grenoble
Scientific computing related software





More information about the pkg-boost-devel mailing list