[Dune] dune-grid does not compile

Christian Engwer christi at uni-hd.de
Fri Mar 12 11:06:03 CET 2010


Dear Dragan,

thank you for your bug report. I think the proble should be solved
with my last patch (in dune-common). I'm currently running the test.

Christian

On Fri, Mar 12, 2010 at 10:59:53AM +0100, Dragan Vidovic wrote:
> 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
> 
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
> 




More information about the Dune mailing list