[Dune] [#904] nullptr compatibility code is incompatible with GCC 4.6 (Attachment added)

Dune flyspray at dune-project.org
Thu Apr 7 14:38:05 CEST 2011


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 - nullptr compatibility code is incompatible with GCC 4.6
Task Type - Bug Report
Category - Common
Status - Unconfirmed
Assigned To - 
Operating System - Unspecified / All
Severity - Medium
Priority - Normal
Reported Version - SVN (pre2.2)
Due in Version - Undecided
Due Date - Undecided
Details - The nullptr compatibility wrapper in dune-common does not work correctly with GCC 4.6. The problem is that the wrapper
is based on an older draft of C++0x, while GCC 4.6 implements nullptr according to the latest draft. The difference between
the two draft versions is that nullptr_t was moved into namespace std and requires inclusion of <cstddef>.

The attached patch fixes the configure test and includes the required header in nullptr.hh if compiler support is detected, but I don't know exactly what to do about nullptr_t - do it like tuple, array etc. and import the definition into the Dune namespace?



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=904

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