[Dune] [#607] ALUGrid fails to compile due to introduction of deperected_int

Dune dune at dune-project.org
Mon Sep 28 10:37:48 CEST 2009


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Martin Nolte (nolte) 

Attached to Project - Dune
Summary - ALUGrid fails to compile due to introduction of deperected_int
Task Type - Bug Report
Category - Grid
Status - New
Assigned To - 
Operating System - Unspecified / All
Severity - High
Priority - Normal
Reported Version - SVN
Due in Version - 1.3
Due Date - Undecided
Details - 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<GridImp>::InsertEntity<EntityType, codim>::insert(const EntityType&, const HierarchicIndexSet&, std::vector<int, std::allocator<int> > (&)[Dune::DefaultLevelIndexSet<GridImp>::ncodim], int (&)[Dune::DefaultLevelIndexSet<GridImp>::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<GridImp>::insertEntity(EntityType&, int (&)[Dune::DefaultLevelIndexSet<GridImp>::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<GridImp>::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.

More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=607

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.




More information about the Dune mailing list