Boost C++ Libraries: Ticket #12781: Boost.MPI header <boost/mpi.hpp> cannot be included in project headers https://svn.boost.org/trac10/ticket/12781 <p> When including the Boost.MPI header &lt;boost/mpi.hpp&gt; inside of a project specific header file multiple definitions of macros from other supporting boost libraries. (output attached) </p> <p> There seems to be some header guards missing but I have not really looked in to the error beyond fixing it by not including the &lt;boost/mpi.hpp&gt; header outside of compiled project files. </p> <p> When using OS CentOS 6.5 this error does not exist so a newer OS is required to reproduce the error. I have reproduced the error on CentOS 7, Ubuntu 16.04.1-LTS, and Fedora 25. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12781 Trac 1.4.3 ryan.krattiger@… Mon, 23 Jan 2017 16:20:41 GMT attachment set https://svn.boost.org/trac10/ticket/12781 https://svn.boost.org/trac10/ticket/12781 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">error_output.log</span> </li> </ul> <p> Error output from failed build </p> Ticket anonymous Mon, 24 Apr 2017 16:31:17 GMT severity changed https://svn.boost.org/trac10/ticket/12781#comment:1 https://svn.boost.org/trac10/ticket/12781#comment:1 <ul> <li><strong>severity</strong> <span class="trac-field-old">Problem</span> → <span class="trac-field-new">Not Applicable</span> </li> </ul> <p> Update. Upgrading the compiler used to build boost fixed this issue. Feel free to close it as issue as it seems to be unrelated to the implementation. </p> Ticket