[Dune] Error compiling onedgrid

Adrian Burri burriad at mathematik.uni-freiburg.de
Mon Feb 21 12:00:45 CET 2005


Hi,

I get an error when compiling onedgrid on a fresh checkout (using icc 8.1):

../../dune/grid/common/entity.hh(56): error: declaration is incompatible 
with function template "Dune::OneDGridEntity<cd, 1, const 
Dune::OneDGrid<1, 1>> &Dune::OneDGrid<dim, 
dimworld>::getRealEntity<cd>(Dune::GridTraits<1, 1, Dune::OneDGrid, 
Dune::OneDGridGeometry, Dune::OneDGridEntity, 
Dune::OneDGridBoundaryEntity, Dune::OneDGridLevelIterator, 
Dune::OneDGridIntersectionIterator, Dune::OneDGridHierarchicIterator, 
Dune::GenericLeafIterator>::codim<codim>::Entity &) [with dim=1, 
dimworld=1]"
          (declared at line 295 of "../onedgrid.hh")
      friend EntityImp<cd,dim,GridImp>& 
mutableGridImp::getRealEntity(typename GridImp::Traits::template 
codim<cd>::Entity& e );
                                                        ^
          detected during:
            instantiation of class "Dune::Entity<0, dim, GridImp, 
EntityImp> [with dim=1, GridImp=const Dune::OneDGrid<1, 1>, 
EntityImp=Dune::OneDGridEntity]" at line 296 of "../onedgrid.hh"

Anybody with the same error or a fix to it?




More information about the Dune mailing list