[Dune-devel] constructor for 'Dune::EntityPointer

Christoph GrĂ¼ninger christoph.grueninger at iws.uni-stuttgart.de
Thu Sep 25 23:29:43 CEST 2014


Hi,
test-geogrid.cc errors out, related to the EntityPointer.
Clang 3.5.

Bye
Christoph


In file included from test-geogrid.cc:4:
In file included from ../../../config.h:572:
In file included from ../../../dune/grid/yaspgrid.hh:18:
In file included from ../../../dune/grid/common/grid.hh:1401:
In file included from ../../../dune/grid/common/entity.hh:8:
../../../dune/grid/common/entitypointer.hh:144:5: error: 
constructor for 'Dune::EntityPointer<const 
Dune::GeometryGrid<Dune::YaspGrid<2, 
Dune::EquidistantCoordinates<double, 2> >, 
Dune::IdenticalCoordFunction<double, 2>, 
Dune::DebugAllocator<char> >,
       Dune::GeoGrid::Iterator<Dune::GeoGrid::IteratorTraits<Dune::GridView<Dune::DefaultLevelGridViewTraits<const 
Dune::YaspGrid<2, Dune::EquidistantCoordinates<double, 2> >, 
4> >, 2, 4, const Dune::GeometryGrid<Dune::YaspGrid<2, 
Dune::EquidistantCoordinates<double, 2>
       >, Dune::IdenticalCoordFunction<double, 2>, 
Dune::DebugAllocator<char> > >, false> >' must explicitly 
initialize the member 'realIterator' which does not have a 
default constructor
     EntityPointer()
     ^
../../../dune/grid/common/entityiterator.hh:66:5: note: in 
instantiation of member function 'Dune::EntityPointer<const 
Dune::GeometryGrid<Dune::YaspGrid<2, 
Dune::EquidistantCoordinates<double, 2> >, 
Dune::IdenticalCoordFunction<double, 2>, 
Dune::DebugAllocator<char> >,
       Dune::GeoGrid::Iterator<Dune::GeoGrid::IteratorTraits<Dune::GridView<Dune::DefaultLevelGridViewTraits<const 
Dune::YaspGrid<2, Dune::EquidistantCoordinates<double, 2> >, 
4> >, 2, 4, const Dune::GeometryGrid<Dune::YaspGrid<2, 
Dune::EquidistantCoordinates<double, 2>
       >, Dune::IdenticalCoordFunction<double, 2>, 
Dune::DebugAllocator<char> > >, false> >::EntityPointer' 
requested here
     EntityIterator ( )
     ^
/home/gruenich/dune/complete/dune-common/dune/common/test/iteratortest.hh:30:8: 
note: in instantiation of member function 
'Dune::EntityIterator<2, const 
Dune::GeometryGrid<Dune::YaspGrid<2, 
Dune::EquidistantCoordinates<double, 2> >,
       Dune::IdenticalCoordFunction<double, 2>, 
Dune::DebugAllocator<char> >, 
Dune::GeoGrid::Iterator<Dune::GeoGrid::IteratorTraits<Dune::GridView<Dune::DefaultLevelGridViewTraits<const 
Dune::YaspGrid<2, Dune::EquidistantCoordinates<double, 2> >, 
4> >, 2, 4, const
       Dune::GeometryGrid<Dune::YaspGrid<2, 
Dune::EquidistantCoordinates<double, 2> >, 
Dune::IdenticalCoordFunction<double, 2>, 
Dune::DebugAllocator<char> > >, false> >::EntityIterator' 
requested here
   Iter defaultConstructedIterator;
        ^




More information about the Dune-devel mailing list