[Boost-bugs] [Boost C++ Libraries] #12781: Boost.MPI header <boost/mpi.hpp> cannot be included in project headers

Subject: [Boost-bugs] [Boost C++ Libraries] #12781: Boost.MPI header <boost/mpi.hpp> cannot be included in project headers
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-01-23 16:18:59


#12781: Boost.MPI header <boost/mpi.hpp> cannot be included in project headers
------------------------------+---------------------
 Reporter: ryan.krattiger@… | Owner: troyer
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: mpi
  Version: Boost 1.61.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------
 When including the Boost.MPI header <boost/mpi.hpp> inside of a project
 specific header file multiple definitions of macros from other supporting
 boost libraries. (output attached)

 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 <boost/mpi.hpp>
 header outside of compiled project files.

 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.

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