[Dune] dune-grid does not compile
Dragan Vidovic
vitkecar at gmail.com
Fri Mar 12 10:59:53 CET 2010
Hi all
Today's dune-grid does not compile with today's dune-common. One week
old packages compile fine. Here is the error message:
libtool: compile: g++ -std=c++0x -DHAVE_CONFIG_H -I. -I. -I../../..
-I/usr/local/src/dune-svn-2010-03-12/dune-common -I../../..
-I/usr/local/include/alberta -DENABLE_ALBERTA -DALBERTA_DIM=1 -g -O2
-MT libalbertagrid_1d_la-dgfparser.lo -MD -MP -MF
.deps/libalbertagrid_1d_la-dgfparser.Tpo -c dgfparser.cc -o
libalbertagrid_1d_la-dgfparser.o
In file included from ../../../dune/grid/io/file/dgfparser/dgfparser.hh:17,
from ../../../dune/grid/albertagrid/dgfparser.hh:7,
from dgfparser.cc:6:
/usr/local/src/dune-svn-2010-03-12/dune-common/dune/common/mpihelper.hh:
In static member function ‘static Dune::FakeMPIHelper::MPICommunicator
Dune::FakeMPIHelper::getCommunicator()’:
/usr/local/src/dune-svn-2010-03-12/dune-common/dune/common/mpihelper.hh:87:
error: cannot declare static function inside another function
/usr/local/src/dune-svn-2010-03-12/dune-common/dune/common/mpihelper.hh:88:
error: conversion from ‘Dune::FakeMPIHelper::MPICommunicator (*)()’ to
non-scalar type ‘Dune::FakeMPIHelper::MPICommunicator’ requested
make[5]: *** [libalbertagrid_1d_la-dgfparser.lo] Error 1
Cheers,
Dragan
More information about the Dune
mailing list