#1121 Illegal forward declaration of std::pair in mpitraits.hh
Metadata
Property | Value |
---|---|
Reported by | Steffen Müthing (steffen.muething@iwr.uni-heidelberg.de) |
Reported at | Jun 5, 2012 10:44 |
Type | Bug Report |
Version | Git (pre2.4) [autotools] |
Operating System | Unspecified / All |
Last edited by | Oliver Sander (oliver.sander@tu-dresden.de) |
Last edited at | Jun 8, 2012 11:14 |
Closed by | Oliver Sander (oliver.sander@tu-dresden.de) |
Closed at | Jun 8, 2012 11:14 |
Closed in version | 2.3 |
Resolution | Fixed |
Comment | Fixed in the trunk in 6791, and in the 2.2 branch in 6792 |
Description
mpitraits.hh forward declares std::pair, which is illegal by the standard (it is not allowed to forward declare any members of namespace std), and clang (more precisely: its standard library implementation) stumbles over that.
The attached patch fixes the problem by including and dropping the forward declaration.