[Dune] expected unqualified-id before ‘nullptr’

Sergei Malashenko malashenko_sergei at yahoo.com
Fri Nov 4 20:56:10 CET 2011


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.0BLAS....................: noMETIS...................: noMPI.....................: noParMETIS................: noSuperLU-DIST............: noSuperLU.................: no
----------------------------------------
See ./configure --help and config.log for reasons why a component wasn't found
--- calling make for dune-istl ---make make  all-recursivemake[1]: Entering directory `/home/sergey/My_project/Dune/dune-istl-2.1.0'Making all in dunemake[2]: Entering directory `/home/sergey/My_project/Dune/dune-istl-2.1.0/dune'Making all in istlmake[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 tutorialmake[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.ccIn 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 1make[4]: Leaving directory `/home/sergey/My_project/Dune/dune-istl-2.1.0/dune/istl/tutorial'make[3]: *** [all-recursive] Error 1make[3]: Leaving directory `/home/sergey/My_project/Dune/dune-istl-2.1.0/dune/istl'make[2]: *** [all-recursive] Error 1make[2]: Leaving directory
 `/home/sergey/My_project/Dune/dune-istl-2.1.0/dune'make[1]: *** [all-recursive] Error 1make[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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20111104/064b03ed/attachment.htm>


More information about the Dune mailing list