#1228 nullptr does not compile with icpc
Metadata
Property | Value |
---|---|
Reported by | Robert K (robertk@posteo.org) |
Reported at | Jan 8, 2013 21:13 |
Type | FAQ |
Version | Git (pre2.4) [autotools] |
Operating System | Unspecified / All |
Last edited by | Christian Engwer (christi@conan.iwr.uni-heidelberg.de) |
Last edited at | Aug 27, 2015 18:25 |
Closed by | Christian Engwer (christi@conan.iwr.uni-heidelberg.de) |
Closed at | Aug 27, 2015 18:25 |
Closed in version | Unknown |
Resolution | Won't fix |
Comment |
Description
When using the INTEL compiler icpc version 12.x part of the DUNE code cannot be compiled due to problems with the nullptr implementation in DUNE. The check for nullptr does work, but nullptr_t is not a member of namespace std.
A quick fix is to comment the line
using std::nullptr_t
dune/common/nullptr.hh. The m4 check should be adjusted appropriately, i.e. check for nullptr_t also.
The DUNE implementation of nullptr does also not compile with icpc