Boost C++ Libraries: Ticket #3372: Boost.MPI Build failure https://svn.boost.org/trac10/ticket/3372 <p> When building the RC for Boost 1.40.0, Boost.MPI with Open MPI 1.3.3 on a Linux cluster, I get numerous errors of the type: </p> <pre class="wiki">gcc.compile.c++ bin.v2/libs/mpi/build/gcc-3.4.6/debug/threading-multi/broadcast.o 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/collectives_fwd.hpp:19, from ./boost/mpi/collectives/broadcast.hpp:11, from libs/mpi/src/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 "void" ./boost/mpi/detail/mpi_datatype_oarchive.hpp:64: error: expected `)' before "void" ./boost/mpi/detail/mpi_datatype_oarchive.hpp:64: error: expected `)' before '}' token "g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -pthread -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_MPI_DYN_LINK=1 -DBOOST_MPI_SOURCE=1 -I"." -I"/home/bwbarre/Software/x86_64-unknown-linux-gnu/openmpi/1.3.3/include" -c -o "bin.v2/libs/mpi/build/gcc-3.4.6/debug/threading-multi/broadcast.o" "libs/mpi/src/broadcast.cpp" </pre><p> The system is running stock Red Hat 4 with the default compilers: </p> <pre class="wiki">[15:51] bwbarre@odin:pts/2 ~&gt; cat /etc/redhat-release Red Hat Enterprise Linux WS release 4 (Nahant Update 7) [15:51] bwbarre@odin:pts/2 ~&gt; g++ --version g++ (GCC) 3.4.6 20060404 (Red Hat 3.4.6-10) Copyright (C) 2006 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><p> Boost 1.39.0 with the same MPI and compilers does not exhibit this problem. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3372 Trac 1.4.3 anonymous Thu, 27 Aug 2009 15:43:18 GMT <link>https://svn.boost.org/trac10/ticket/3372#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3372#comment:1</guid> <description> <p> original bug submitted by Brian Barrett &lt;bwbarre@…&gt; </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Fri, 28 Aug 2009 15:46:09 GMT</pubDate> <title>component changed; owner set https://svn.boost.org/trac10/ticket/3372#comment:2 https://svn.boost.org/trac10/ticket/3372#comment:2 <ul> <li><strong>owner</strong> set to <span class="trac-author">Douglas Gregor</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">mpi</span> </li> </ul> Ticket smr@… Sun, 18 Oct 2009 14:44:45 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3372#comment:3 https://svn.boost.org/trac10/ticket/3372#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">duplicate</span> </li> </ul> <p> This is a duplicate of ticket <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3371" title="#3371: Bugs: Code with &lt;boost/mpi.hpp&gt; does not compile with gcc 4.4.1 (closed: fixed)">#3371</a>. </p> Ticket