Boost C++ Libraries: Ticket #3371: Code with <boost/mpi.hpp> does not compile with gcc 4.4.1 https://svn.boost.org/trac10/ticket/3371 <pre class="wiki">[anubis@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@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&amp;, 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@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@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. </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3371 Trac 1.4.3 anonymous Thu, 27 Aug 2009 16:55:53 GMT owner changed https://svn.boost.org/trac10/ticket/3371#comment:1 https://svn.boost.org/trac10/ticket/3371#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Douglas Gregor</span> to <span class="trac-author">Matthias Troyer</span> </li> </ul> Ticket smr@… Sun, 18 Oct 2009 14:47:30 GMT milestone changed; cc set https://svn.boost.org/trac10/ticket/3371#comment:2 https://svn.boost.org/trac10/ticket/3371#comment:2 <ul> <li><strong>cc</strong> <span class="trac-author">smr@…</span> added </li> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.40.0</span> → <span class="trac-field-new">Boost 1.41.0</span> </li> </ul> <p> This bug now shows up in release testing for 1.41; c.f. <a href="http://www.boost.org/development/tests/release/output/Debian-Sid-boost-bin-v2-libs-fusion-test-adapt_assoc_struct-test-gcc-4-4-debug-sequence.html">http://www.boost.org/development/tests/release/output/Debian-Sid-boost-bin-v2-libs-fusion-test-adapt_assoc_struct-test-gcc-4-4-debug-sequence.html</a> </p> <p> Also reported as a Debian bug: <a class="ext-link" href="http://bugs.debian.org/550300"><span class="icon">​</span>http://bugs.debian.org/550300</a> </p> <p> This would be nice to fix for 1.41. </p> <p> Thanks, -Steve </p> Ticket anonymous Sun, 18 Oct 2009 16:05:05 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3371#comment:3 https://svn.boost.org/trac10/ticket/3371#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> I checked in a fix to the trunk. The release branch was already fixed. </p> Ticket