#944 Make dune-common and clang++/libc++ get along a bit better
Metadata
Property | Value |
---|---|
Reported by | Elias Pipping (elias.pipping@fu-berlin.de) |
Reported at | Aug 16, 2011 12:21 |
Type | Bug Report |
Version | Git (pre2.4) [autotools] |
Operating System | Linux |
Last edited by | Oliver Sander (oliver.sander@tu-dresden.de) |
Last edited at | Oct 19, 2011 10:24 |
Closed by | Oliver Sander (oliver.sander@tu-dresden.de) |
Closed at | Oct 19, 2011 10:24 |
Closed in version | Unknown |
Resolution | Fixed |
Comment | in revision 6516 and 6517, thanks! |
Description
The problem outlined in #904 (closed) which applies to libstdc++ from gcc 4.6 applies to libc++ from the llvm project as well.
Aside from that, the following (and some more) changes are required in order to make dune-common (and its tests) compile with clang++/libc++:
-
0001-_-M-N-DUNE_TEST-M-N.patch:
libc++ uses _N and _M.
-
0002-clang-sets-GNUC-as-well.patch:
clang defines GNUC but the code surrounded by GNUC #idefs is not meant for clang.