[Dune] [#1121] Illegal forward declaration of std::pair in mpitraits.hh (Attachment added)

Dune flyspray at dune-project.org
Tue Jun 5 12:44:23 CEST 2012


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Steffen Müthing (smuething) 

Attached to Project - Dune
Summary - Illegal forward declaration of std::pair in mpitraits.hh
Task Type - Bug Report
Category - Common
Status - New
Assigned To - 
Operating System - Unspecified / All
Severity - Medium
Priority - Normal
Reported Version - SVN (pre2.3)
Due in Version - 2.3
Due Date - Undecided
Details - 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 <utility> and dropping the forward declaration.

One or more files have been attached.

More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=1121

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.




More information about the Dune mailing list