Opened 6 years ago
Last modified 5 years ago
#12781 new Bugs
Boost.MPI header <boost/mpi.hpp> cannot be included in project headers
Reported by: | Owned by: | Matthias Troyer | |
---|---|---|---|
Milestone: | To Be Determined | Component: | mpi |
Version: | Boost 1.61.0 | Severity: | Not Applicable |
Keywords: | Cc: |
Description
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.
Attachments (1)
Change History (2)
by , 6 years ago
Attachment: | error_output.log added |
---|
comment:1 by , 5 years ago
Severity: | Problem → Not Applicable |
---|
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.
Error output from failed build