[Dune] expected unqualified-id before ‘nullptr’

Oliver Sander sander at mi.fu-berlin.de
Sat Nov 5 09:42:03 CET 2011


Please try the most recent version of dune-common 2.1, available via svn 
under

svn checkout 
https://svn.dune-project.org/svn/dune-common/branches/release-2.1 
dune-common

cheers,
Oliver

Am 04.11.2011 20:56, schrieb Sergei Malashenko:
> Good day. Please help me I see the following error when I start
> configure DUNE modules
>
>
> Found the following Dune-components:
>
> ----------------------------------------
>
> dune-common.............: version 2.1.0
> BLAS....................: no
> METIS...................: no
> MPI.....................: no
> ParMETIS................: no
> SuperLU-DIST............: no
> SuperLU.................: no
>
> ----------------------------------------
>
> See ./configure --help and config.log for reasons why a component wasn't
> found
>
> --- calling make for dune-istl ---
> make
> make all-recursive
> make[1]: Entering directory `/home/sergey/My_project/Dune/dune-istl-2.1.0'
> Making all in dune
> make[2]: Entering directory
> `/home/sergey/My_project/Dune/dune-istl-2.1.0/dune'
> Making all in istl
> make[3]: Entering directory
> `/home/sergey/My_project/Dune/dune-istl-2.1.0/dune/istl'
> Making all in .
> make[4]: Entering directory
> `/home/sergey/My_project/Dune/dune-istl-2.1.0/dune/istl'
> make[4]: Nothing to be done for `all-am'.
> make[4]: Leaving directory
> `/home/sergey/My_project/Dune/dune-istl-2.1.0/dune/istl'
> Making all in tutorial
> make[4]: Entering directory
> `/home/sergey/My_project/Dune/dune-istl-2.1.0/dune/istl/tutorial'
> g++ -std=c++0x -DHAVE_CONFIG_H -I. -I../../..
> -I/home/sergey/My_project/Dune/dune-common-2.1.0 -I../../..
> -I/usr/include -I/home/sergey/My_project/Dune/dune-common-2.1.0
> -I/usr/include -g -O2 -MT example-example.o -MD -MP -MF
> .deps/example-example.Tpo -c -o example-example.o `test -f 'example.cc'
> || echo './'`example.cc
> In file included from
> /home/sergey/My_project/Dune/dune-common-2.1.0/dune/common/shared_ptr.hh:17:0,
> from ../../../dune/istl/bcrsmatrix.hh:17,
> from example.cc:21:
> /home/sergey/My_project/Dune/dune-common-2.1.0/dune/common/nullptr.hh:27:1:
> error: expected ‘;’ after class definition
> /home/sergey/My_project/Dune/dune-common-2.1.0/dune/common/nullptr.hh:27:1:
> error: qualifiers can only be specified for objects and functions
> /home/sergey/My_project/Dune/dune-common-2.1.0/dune/common/nullptr.hh:27:3:
> error: expected unqualified-id before ‘nullptr’
> make[4]: *** [example-example.o] Error 1
> make[4]: Leaving directory
> `/home/sergey/My_project/Dune/dune-istl-2.1.0/dune/istl/tutorial'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/home/sergey/My_project/Dune/dune-istl-2.1.0/dune/istl'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/home/sergey/My_project/Dune/dune-istl-2.1.0/dune'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/sergey/My_project/Dune/dune-istl-2.1.0'
> make: *** [all] Error 2
> --- Failed to build dune-istl ---
> Terminating dunecontrol due to previous errors!
>
>
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune




More information about the Dune mailing list