[Dune] [#763] AlbertaGrid leaks preprocessor define

Dune flyspray at dune-project.org
Fri Mar 19 17:29:34 CET 2010


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

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

User who did this - Oliver Sander (sander) 

Attached to Project - Dune
Summary - AlbertaGrid leaks preprocessor define
Task Type - Bug Report
Category - Alberta
Status - New
Assigned To - 
Operating System - Unspecified / All
Severity - Low
Priority - Normal
Reported Version - SVN (pre2.0)
Due in Version - Undecided
Due Date - Undecided
Details - 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

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

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