[Boost-bugs] [Boost C++ Libraries] #3371: Code with <boost/mpi.hpp> does not compile with gcc 4.4.1

Subject: [Boost-bugs] [Boost C++ Libraries] #3371: Code with <boost/mpi.hpp> does not compile with gcc 4.4.1
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-08-27 11:43:08


#3371: Code with <boost/mpi.hpp> does not compile with gcc 4.4.1
-------------------------------------+--------------------------------------
 Reporter: anubis@… | Owner: dgregor
     Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: mpi
  Version: Boost Development Trunk | Severity: Showstopper
 Keywords: |
-------------------------------------+--------------------------------------
 {{{
 [anubis_at_dragon:~/CPP/boost-svn/libs/mpi/example]% svn info .
 URL: http://svn.boost.org/svn/boost/trunk/libs/mpi/example
 Repository Root: http://svn.boost.org/svn/boost
 Repository UUID: b8fc166d-592f-0410-95f2-cb63ce0dd405
 Revision: 55797

 [anubis_at_dragon:~/CPP/boost-svn/libs/mpi/example]% mpic++ -I../../../ -o
 test_hwb hello_world_broadcast.cpp
 In file included from ../../../boost/mpi/detail/mpi_datatype_cache.hpp:13,
 from ../../../boost/mpi/datatype.hpp:27,
 from ../../../boost/mpi/communicator.hpp:20,
 from ../../../boost/mpi/collectives.hpp:21,
 from ../../../boost/mpi.hpp:23,
 from hello_world_broadcast.cpp:9:
 ../../../boost/mpi/detail/mpi_datatype_oarchive.hpp: In member function
 â€˜void boost::mpi::detail::mpi_datatype_oarchive::save_enum(const T&,
 mpl_::true_)’:
 ../../../boost/mpi/detail/mpi_datatype_oarchive.hpp:64: error: expected
 primary-expression before ‘enum’
 ../../../boost/mpi/detail/mpi_datatype_oarchive.hpp:64: error: expected
 â€˜;’ before ‘enum’

 [anubis_at_dragon:~/CPP/boost-svn/libs/mpi/example]% mpic++ -showme
 g++ -pthread -lmpi_cxx -lmpi -lopen-rte -lopen-pal -ldl -Wl,--export-
 dynamic -lnsl -lutil -lm -ldl

 [anubis_at_dragon:~/CPP/boost-svn/libs/mpi/example]% g++ --version
 g++ (GCC) 4.4.1
 Copyright (C) 2009 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions. There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
 PURPOSE.
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3371>
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:01 UTC