[Dune] [#1032] test-parallel-ug.cc fails to compile with clang
Dune
flyspray at dune-project.org
Fri Jan 27 12:46:08 CET 2012
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Elias Pipping (pipping)
Attached to Project - Dune
Summary - test-parallel-ug.cc fails to compile with clang
Task Type - Bug Report
Category - UG
Status - Unconfirmed
Assigned To -
Operating System - Unspecified / All
Severity - Low
Priority - Normal
Reported Version - SVN (pre2.2)
Due in Version - Undecided
Due Date - Undecided
Details - The offending lines are these:
<<SNIP
template <int dim>
class EdgeCommunication
{
public:
template <class GridView>
static void test(const GridView &gridView)
{
const int dim = GridView::dimension;
<<SNAP
The problem is with the duplicate declaration of dim (once as local variable and once as a template parameter. Removing the local variable makes the test compile and pass for me. I did not check if that's reasonable, though.
More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=1032
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