#763 AlbertaGrid leaks preprocessor define
Metadata
| Property | Value |
|---|---|
| Reported by | Oliver Sander (oliver.sander@tu-dresden.de) |
| Reported at | Mar 19, 2010 16:29 |
| Type | Bug Report |
| Version | Git (pre2.4) [autotools] |
| Operating System | Unspecified / All |
| Last edited by | Martin Nolte (nolte@mathematik.uni-freiburg.de) |
| Last edited at | Apr 14, 2010 05:17 |
| Closed by | Martin Nolte (nolte@mathematik.uni-freiburg.de) |
| Closed at | Apr 14, 2010 05:17 |
| Closed in version | Unknown |
| Resolution | Fixed |
| Comment |
Description
The albertagrid.hh header seems to leak a define 'ERROR'. This can lead to name clashes, as for example in the following test case:
#include "config.h"
#include <dune/grid/albertagrid.hh>
const int ERROR = 0;
int main() {}
This currently causes the amiramesh test to fail if you have alberta and psurface installed, because psurface does indeed use a symbol 'ERROR'.
btw: that's with alberta 2.0