#607 ALUGrid fails to compile due to introduction of deperected_int
Metadata
Property | Value |
---|---|
Reported by | Martin Nolte (nolte@mathematik.uni-freiburg.de) |
Reported at | Sep 28, 2009 08:37 |
Type | Bug Report |
Version | Git (pre2.4) [autotools] |
Operating System | Unspecified / All |
Last edited by | Martin Nolte (nolte@mathematik.uni-freiburg.de) |
Last edited at | Sep 28, 2009 11:07 |
Closed by | Martin Nolte (nolte@mathematik.uni-freiburg.de) |
Closed at | Sep 28, 2009 11:07 |
Closed in version | 2.1 |
Resolution | Fixed |
Comment |
Description
When compiling the grid check for 2d ALUGrid, you get the following error message (following error dropped):
make test-alu2dsimplex CXXFLAGS="-g -Wall" ../../dune/grid/alugrid/3d/../defaultindexsets.hh: In static member function ‘static void Dune::DefaultLevelIndexSet::InsertEntity<EntityType, codim>::insert(const EntityType&, const HierarchicIndexSet&, std::vector<int, std::allocator > (&)[Dune::DefaultLevelIndexSet::ncodim], int (&)[Dune::DefaultLevelIndexSet::ncodim]) [with HierarchicIndexSet = Dune::ALU3dGridHierarchicIndexSet<3, 3, hexa>, EntityType = Dune::Entity<0, 3, const Dune::ALU3dGrid<3, 3, hexa>, Dune::ALU3dGridEntity>, int codim = 3, GridImp = Dune::ALU3dGrid<3, 3, hexa>]’: ../../dune/grid/alugrid/3d/../defaultindexsets.hh:518: instantiated from ‘void Dune::DefaultLevelIndexSet::insertEntity(EntityType&, int (&)[Dune::DefaultLevelIndexSet::ncodim]) [with EntityType = Dune::Entity<0, 3, const Dune::ALU3dGrid<3, 3, hexa>, Dune::ALU3dGridEntity>, GridImp = Dune::ALU3dGrid<3, 3, hexa>]’ ../../dune/grid/alugrid/3d/../defaultindexsets.hh:437: instantiated from ‘void Dune::DefaultLevelIndexSet::calcNewIndex() [with GridImp = Dune::ALU3dGrid<3, 3, hexa>]’ ../../dune/grid/alugrid/3d/grid_imp.cc:408: instantiated from ‘void Dune::ALU3dGrid<dim, dimworld, elType>::calcExtras() [with int dim = 3, int dimworld = 3, Dune::ALU3dGridElementType elType = hexa]’ ../../dune/grid/alugrid/3d/grid_imp.cc:219: instantiated from ‘Dune::ALU3dGrid<dim, dimworld, elType>::ALU3dGrid(std::string, ompi_communicator_t*, const typename Dune::ALU3dGridFamily<dim, dimworld, elType>::Traits::DuneBoundaryProjectionType*) [with int dim = 3, int dimworld = 3, Dune::ALU3dGridElementType elType = hexa]’ ../../dune/grid/alugrid/3d/alugrid.hh:57: instantiated from here ../../dune/grid/alugrid/3d/../defaultindexsets.hh:306: error: call of overloaded ‘subIndex(const Dune::Entity<0, 3, const Dune::ALU3dGrid<3, 3, hexa>, Dune::ALU3dGridEntity>&, int&)’ is ambiguous ../../dune/grid/alugrid/3d/indexsets.hh:82: note: candidates are: int Dune::ALU3dGridHierarchicIndexSet<dim, dimworld, elType>::subIndex(const typename Dune::ALU3dGrid<dim, dimworld, elType>::Traits::Codim<0>::Entity&, Dune::deprecated_int) const [with int codim = 3, int dim = 3, int dimworld = 3, Dune::ALU3dGridElementType elType = hexa] ../../dune/grid/common/indexidset.hh:151: note: IndexTypeImp Dune::IndexSet<GridImp, IndexSetImp, IndexTypeImp>::subIndex(const typename std::remove_const<_Tp>::type::Traits::Codim<0>::Entity&, Dune::deprecated_int) const [with int cc = 3, GridImp = Dune::ALU3dGrid<3, 3, hexa>, IndexSetImp = Dune::ALU3dGridHierarchicIndexSet<3, 3, hexa>, IndexTypeImp = unsigned int]
This seems to be due to the introduction of deprected_int.