#1345 make test fails with compile errors
Metadata
Property | Value |
---|---|
Reported by | Markus Blatt (markus@dr-blatt.de) |
Reported at | Aug 28, 2013 16:01 |
Type | Bug Report |
Version | 2.2 |
Operating System | Unspecified / All |
Last edited by | Oliver Sander (oliver.sander@tu-dresden.de) |
Last edited at | Sep 1, 2013 10:13 |
Closed by | Oliver Sander (oliver.sander@tu-dresden.de) |
Closed at | Sep 1, 2013 10:13 |
Closed in version | Unknown |
Resolution | Fixed |
Comment | Please reopen if not fixed after all! |
Description
Since the patches of this morning make test with gcc-4.3 fails during compilation:
make[5]: Entering directory /home/mblatt/buildbot-slave1/DUNE-1/git/master/dune-grid/dune/grid/utility/test' g++ -std=c++0x -DHAVE_CONFIG_H -I. -I../../../.. -I/home/mblatt/buildbot-slave1/DUNE-1/git/master/dune-common -I/home/mblatt/buildbot-slave1/DUNE-1/git/master/dune-common -I/home/mblatt/buildbot-slave1/DUNE-1/git/master/dune-geometry -I/home/mblatt/buildbot-slave1/DUNE-1/git/master/dune-geometry -I../../../.. -g -O2 -MT structuredgridfactorytest-structuredgridfactorytest.o -MD -MP -MF .deps/structuredgridfactorytest-structuredgridfactorytest.Tpo -c -o structuredgridfactorytest-structuredgridfactorytest.o
test -f 'structuredgridfactorytest.cc' || echo './'structuredgridfactorytest.cc In file included from ../../../../dune/grid/test/gridcheck.cc:22, from structuredgridfactorytest.cc:19: ../../../../dune/grid/test/checkindexset.cc: In function ‘void Dune::checkSubEntity(const GridType&, const typename GridType::Codim<0>::Entity&, const IndexSetType&, OutputStreamImp&, MapType1&, MapType2&, const MapType3&)’: ../../../../dune/grid/test/checkindexset.cc:72: error: expected initializer before ‘<’ token ../../../../dune/grid/test/checkindexset.cc:76: error: ‘refElem’ was not declared in this scope ../../../../dune/grid/test/checkindexset.cc:91: error: ‘refElem’ was not declared in this scope ../../../../dune/grid/test/checkindexset.cc: In function ‘void Dune::checkIndexSetForCodim(const Grid&, const GridView&, OutputStream&, bool)’: ../../../../dune/grid/test/checkindexset.cc:417: error: expected initializer before ‘<’ token ../../../../dune/grid/test/checkindexset.cc:422: error: ‘refElem’ was not declared in this scope In file included from ../../../../dune/grid/test/gridcheck.cc:23, from structuredgridfactorytest.cc:19: ../../../../dune/grid/test/checkgeometry.cc: In function ‘void Dune::checkLocalGeometry(const Dune::Geometry<mydim, cdim, Grid, Imp>&, Dune::GeometryType, const std::string&)’: ../../../../dune/grid/test/checkgeometry.cc:33: error: expected initializer before ‘<’ token ../../../../dune/grid/test/checkgeometry.cc:39: error: ‘refElement’ was not declared in this scope In file included from structuredgridfactorytest.cc:19: ../../../../dune/grid/test/gridcheck.cc: In function ‘void checkBoundarySegmentIndexProlongation(const Grid&, const Entity&, const Intersection&)’: ../../../../dune/grid/test/gridcheck.cc:673: error: expected initializer before ‘<’ token ../../../../dune/grid/test/gridcheck.cc:682: error: ‘refElement’ was not declared in this scope ../../../../dune/grid/test/gridcheck.cc: In function ‘void assertNeighbor(Grid&) [with Grid = Dune::OneDGrid]’: ../../../../dune/grid/test/gridcheck.cc:895: instantiated from ‘void gridcheck(Grid&) [with Grid = Dune::OneDGrid]’ structuredgridfactorytest.cc:45: instantiated from here ../../../../dune/grid/test/gridcheck.cc:299: warning: ‘typename GridImp::LevelIntersectionIterator Dune::Entity<0, dim, GridImp, EntityImp>::ilevelbegin() const [with int dim = 1, GridImp = const Dune::OneDGrid, EntityImp = Dune::OneDGridEntity]’ is deprecated (declared at ../../../../dune/grid/common/entity.hh:401) ../../../../dune/grid/test/gridcheck.cc:895: instantiated from ‘void gridcheck(Grid&) [with Grid = Dune::OneDGrid]’ structuredgridfactorytest.cc:45: instantiated from here ../../../../dune/grid/test/gridcheck.cc:316: warning: ‘typename GridImp::LeafIntersectionIterator Dune::Entity<0, dim, GridImp, EntityImp>::ileafend() const [with int dim = 1, GridImp = const Dune::OneDGrid, EntityImp = Dune::OneDGridEntity]’ is deprecated (declared at ../../../../dune/grid/common/entity.hh:382) ../../../../dune/grid/test/gridcheck.cc:895: instantiated from ‘void gridcheck(Grid&) [with Grid = Dune::OneDGrid]’ structuredgridfactorytest.cc:45: instantiated from here ../../../../dune/grid/test/gridcheck.cc:316: warning: ‘typename GridImp::LeafIntersectionIterator Dune::Entity<0, dim, GridImp, EntityImp>::ileafbegin() const [with int dim = 1, GridImp = const Dune::OneDGrid, EntityImp = Dune::OneDGridEntity]’ is deprecated (declared at ../../../../dune/grid/common/entity.hh:367) ../../../../dune/grid/test/gridcheck.cc:895: instantiated from ‘void gridcheck(Grid&) [with Grid = Dune::OneDGrid]’ structuredgridfactorytest.cc:45: instantiated from here ../../../../dune/grid/test/gridcheck.cc:366: warning: ‘int Dune::Intersection<GridImp, IntersectionImp>::boundaryId() const [with GridImp = const Dune::OneDGrid, IntersectionImp = Dune::OneDGridLevelIntersection<const Dune::OneDGrid>]’ is deprecated (declared at ../../../../dune/grid/common/intersection.hh:244) ../../../../dune/grid/test/gridcheck.cc: In function ‘void assertNeighbor(Grid&) [with Grid = const Dune::OneDGrid]’: ../../../../dune/grid/test/gridcheck.cc:896: instantiated from ‘void gridcheck(Grid&) [with Grid = Dune::OneDGrid]’ structuredgridfactorytest.cc:45: instantiated from here ../../../../dune/grid/test/gridcheck.cc:299: warning: ‘typename GridImp::LevelIntersectionIterator Dune::Entity<0, dim, GridImp, EntityImp>::ilevelbegin() const [with int dim = 1, GridImp = const Dune::OneDGrid, EntityImp = Dune::OneDGridEntity]’ is deprecated (declared at ../../../../dune/grid/common/entity.hh:401) ../../../../dune/grid/test/gridcheck.cc:316: warning: ‘typename GridImp::LeafIntersectionIterator Dune::Entity<0, dim, GridImp, EntityImp>::ileafend() const [with int dim = 1, GridImp = const Dune::OneDGrid, EntityImp = Dune::OneDGridEntity]’ is deprecated (declared at ../../../../dune/grid/common/entity.hh:382) ../../../../dune/grid/test/gridcheck.cc:316: warning: ‘typename GridImp::LeafIntersectionIterator Dune::Entity<0, dim, GridImp, EntityImp>::ileafbegin() const [with int dim = 1, GridImp = const Dune::OneDGrid, EntityImp = Dune::OneDGridEntity]’ is deprecated (declared at ../../../../dune/grid/common/entity.hh:367) ../../../../dune/grid/test/gridcheck.cc:896: instantiated from ‘void gridcheck(Grid&) [with Grid = Dune::OneDGrid]’ structuredgridfactorytest.cc:45: instantiated from here ../../../../dune/grid/test/gridcheck.cc:366: warning: ‘int Dune::Intersection<GridImp, IntersectionImp>::boundaryId() const [with GridImp = const Dune::OneDGrid, IntersectionImp = Dune::OneDGridLevelIntersection<const Dune::OneDGrid>]’ is deprecated (declared at ../../../../dune/grid/common/intersection.hh:244) In file included from ../../../../dune/grid/test/gridcheck.cc:21, from structuredgridfactorytest.cc:19: ../../../../dune/grid/test/staticcheck.hh: In static member function ‘static void EntityInterface<Grid, 0, dim, true>::check(const typename Grid::Codim<0>::Entity&, bool) [with Grid = Dune::GridDefaultImplementation<1, 1, double, Dune::OneDGridFamily<1, 1> >, int dim = 1]’: ../../../../dune/grid/test/staticcheck.hh:331: instantiated from ‘EntityInterface<Grid, 0, dim, true>::EntityInterface() [with Grid = Dune::GridDefaultImplementation<1, 1, double, Dune::OneDGridFamily<1, 1> >, int dim = 1]’ ../../../../dune/grid/test/staticcheck.hh:495: instantiated from ‘static void GridInterface<Grid>::check(const Grid&) [with Grid = Dune::GridDefaultImplementation<1, 1, double, Dune::OneDGridFamily<1, 1> >]’ ../../../../dune/grid/test/gridcheck.cc:884: instantiated from ‘void gridcheck(Grid&) [with Grid = Dune::OneDGrid]’ structuredgridfactorytest.cc:45: instantiated from here ../../../../dune/grid/test/staticcheck.hh:301: warning: ‘typename GridImp::LevelIntersectionIterator Dune::Entity<0, dim, GridImp, EntityImp>::ilevelbegin() const [with int dim = 1, GridImp = const Dune::OneDGrid, EntityImp = Dune::OneDGridEntity]’ is deprecated (declared at ../../../../dune/grid/common/entity.hh:401) ../../../../dune/grid/test/staticcheck.hh:331: instantiated from ‘EntityInterface<Grid, 0, dim, true>::EntityInterface() [with Grid = Dune::GridDefaultImplementation<1, 1, double, Dune::OneDGridFamily<1, 1> >, int dim = 1]’ ../../../../dune/grid/test/staticcheck.hh:495: instantiated from ‘static void GridInterface<Grid>::check(const Grid&) [with Grid = Dune::GridDefaultImplementation<1, 1, double, Dune::OneDGridFamily<1, 1> >]’ ../../../../dune/grid/test/gridcheck.cc:884: instantiated from ‘void gridcheck(Grid&) [with Grid = Dune::OneDGrid]’ structuredgridfactorytest.cc:45: instantiated from here ../../../../dune/grid/test/staticcheck.hh:302: warning: ‘typename GridImp::LevelIntersectionIterator Dune::Entity<0, dim, GridImp, EntityImp>::ilevelend() const [with int dim = 1, GridImp = const Dune::OneDGrid, EntityImp = Dune::OneDGridEntity]’ is deprecated (declared at ../../../../dune/grid/common/entity.hh:416) ../../../../dune/grid/test/staticcheck.hh:331: instantiated from ‘EntityInterface<Grid, 0, dim, true>::EntityInterface() [with Grid = Dune::GridDefaultImplementation<1, 1, double, Dune::OneDGridFamily<1, 1> >, int dim = 1]’ ../../../../dune/grid/test/staticcheck.hh:495: instantiated from ‘static void GridInterface<Grid>::check(const Grid&) [with Grid = Dune::GridDefaultImplementation<1, 1, double, Dune::OneDGridFamily<1, 1> >]’ ../../../../dune/grid/test/gridcheck.cc:884: instantiated from ‘void gridcheck(Grid&) [with Grid = Dune::OneDGrid]’ structuredgridfactorytest.cc:45: instantiated from here ../../../../dune/grid/test/staticcheck.hh:309: warning: ‘typename GridImp::LeafIntersectionIterator Dune::Entity<0, dim, GridImp, EntityImp>::ileafbegin() const [with int dim = 1, GridImp = const Dune::OneDGrid, EntityImp = Dune::OneDGridEntity]’ is deprecated (declared at ../../../../dune/grid/common/entity.hh:367) ../../../../dune/grid/test/staticcheck.hh:310: warning: ‘typename GridImp::LeafIntersectionIterator Dune::Entity<0, dim, GridImp, EntityImp>::ileafend() const [with int dim = 1, GridImp = const Dune::OneDGrid, EntityImp = Dune::OneDGridEntity]’ is deprecated (declared at ../../../../dune/grid/common/entity.hh:382) ../../../../dune/grid/test/staticcheck.hh: In static member function ‘static void EntityInterface<Grid, 0, dim, true>::check(const typename Grid::Codim<0>::Entity&, bool) [with Grid = Dune::OneDGrid, int dim = 1]’: ../../../../dune/grid/test/staticcheck.hh:331: instantiated from ‘EntityInterface<Grid, 0, dim, true>::EntityInterface() [with Grid = Dune::OneDGrid, int dim = 1]’ ../../../../dune/grid/test/staticcheck.hh:495: instantiated from ‘static void GridInterface<Grid>::check(const Grid&) [with Grid = Dune::OneDGrid]’ ../../../../dune/grid/test/staticcheck.hh:503: instantiated from ‘GridInterface<Grid>::GridInterface() [with Grid = Dune::OneDGrid]’ ../../../../dune/grid/test/gridcheck.cc:848: instantiated from ‘void gridcheck(Grid&) [with Grid = Dune::OneDGrid]’ structuredgridfactorytest.cc:45: instantiated from here ../../../../dune/grid/test/staticcheck.hh:301: warning: ‘typename GridImp::LevelIntersectionIterator Dune::Entity<0, dim, GridImp, EntityImp>::ilevelbegin() const [with int dim = 1, GridImp = const Dune::OneDGrid, EntityImp = Dune::OneDGridEntity]’ is deprecated (declared at ../../../../dune/grid/common/entity.hh:401) ../../../../dune/grid/test/staticcheck.hh:302: warning: ‘typename GridImp::LevelIntersectionIterator Dune::Entity<0, dim, GridImp, EntityImp>::ilevelend() const [with int dim = 1, GridImp = const Dune::OneDGrid, EntityImp = Dune::OneDGridEntity]’ is deprecated (declared at ../../../../dune/grid/common/entity.hh:416) ../../../../dune/grid/test/staticcheck.hh:331: instantiated from ‘EntityInterface<Grid, 0, dim, true>::EntityInterface() [with Grid = Dune::OneDGrid, int dim = 1]’ ../../../../dune/grid/test/staticcheck.hh:495: instantiated from ‘static void GridInterface<Grid>::check(const Grid&) [with Grid = Dune::OneDGrid]’ ../../../../dune/grid/test/staticcheck.hh:503: instantiated from ‘GridInterface<Grid>::GridInterface() [with Grid = Dune::OneDGrid]’ ../../../../dune/grid/test/gridcheck.cc:848: instantiated from ‘void gridcheck(Grid&) [with Grid = Dune::OneDGrid]’ structuredgridfactorytest.cc:45: instantiated from here ../../../../dune/grid/test/staticcheck.hh:309: warning: ‘typename GridImp::LeafIntersectionIterator Dune::Entity<0, dim, GridImp, EntityImp>::ileafbegin() const [with int dim = 1, GridImp = const Dune::OneDGrid, EntityImp = Dune::OneDGridEntity]’ is deprecated (declared at ../../../../dune/grid/common/entity.hh:367) ../../../../dune/grid/test/staticcheck.hh:310: warning: ‘typename GridImp::LeafIntersectionIterator Dune::Entity<0, dim, GridImp, EntityImp>::ileafend() const [with int dim = 1, GridImp = const Dune::OneDGrid, EntityImp = Dune::OneDGridEntity]’ is deprecated (declared at ../../../../dune/grid/common/entity.hh:382) ../../../../dune/grid/test/staticcheck.hh: In static member function ‘static void IntersectionIteratorInterface<Grid, IntersectionIterator>::check(IntersectionIterator&) [with Grid = Dune::GridDefaultImplementation<1, 1, double, Dune::OneDGridFamily<1, 1> >, IntersectionIterator = Dune::IntersectionIterator<const Dune::OneDGrid, Dune::OneDGridLevelIntersectionIterator<const Dune::OneDGrid>, Dune::OneDGridLevelIntersection<const Dune::OneDGrid> >]’: ../../../../dune/grid/test/staticcheck.hh:217: instantiated from ‘IntersectionIteratorInterface<Grid, IntersectionIterator>::IntersectionIteratorInterface() [with Grid = Dune::GridDefaultImplementation<1, 1, double, Dune::OneDGridFamily<1, 1> >, IntersectionIterator = Dune::IntersectionIterator<const Dune::OneDGrid, Dune::OneDGridLevelIntersectionIterator<const Dune::OneDGrid>, Dune::OneDGridLevelIntersection<const Dune::OneDGrid> >]’ ../../../../dune/grid/test/staticcheck.hh:305: instantiated from ‘static void EntityInterface<Grid, 0, dim, true>::check(const typename Grid::Codim<0>::Entity&, bool) [with Grid = Dune::GridDefaultImplementation<1, 1, double, Dune::OneDGridFamily<1, 1> >, int dim = 1]’ ../../../../dune/grid/test/staticcheck.hh:331: instantiated from ‘EntityInterface<Grid, 0, dim, true>::EntityInterface() [with Grid = Dune::GridDefaultImplementation<1, 1, double, Dune::OneDGridFamily<1, 1> >, int dim = 1]’ ../../../../dune/grid/test/staticcheck.hh:495: instantiated from ‘static void GridInterface<Grid>::check(const Grid&) [with Grid = Dune::GridDefaultImplementation<1, 1, double, Dune::OneDGridFamily<1, 1> >]’ ../../../../dune/grid/test/gridcheck.cc:884: instantiated from ‘void gridcheck(Grid&) [with Grid = Dune::OneDGrid]’ structuredgridfactorytest.cc:45: instantiated from here ../../../../dune/grid/test/staticcheck.hh:194: warning: ‘int Dune::Intersection<GridImp, IntersectionImp>::boundaryId() const [with GridImp = const Dune::OneDGrid, IntersectionImp = Dune::OneDGridLevelIntersection<const Dune::OneDGrid>]’ is deprecated (declared at ../../../../dune/grid/common/intersection.hh:244) ../../../../dune/grid/test/staticcheck.hh: In static member function ‘static void IntersectionIteratorInterface<Grid, IntersectionIterator>::check(IntersectionIterator&) [with Grid = Dune::OneDGrid, IntersectionIterator = Dune::IntersectionIterator<const Dune::OneDGrid, Dune::OneDGridLevelIntersectionIterator<const Dune::OneDGrid>, Dune::OneDGridLevelIntersection<const Dune::OneDGrid> >]’: ../../../../dune/grid/test/staticcheck.hh:217: instantiated from ‘IntersectionIteratorInterface<Grid, IntersectionIterator>::IntersectionIteratorInterface() [with Grid = Dune::OneDGrid, IntersectionIterator = Dune::IntersectionIterator<const Dune::OneDGrid, Dune::OneDGridLevelIntersectionIterator<const Dune::OneDGrid>, Dune::OneDGridLevelIntersection<const Dune::OneDGrid> >]’ ../../../../dune/grid/test/staticcheck.hh:305: instantiated from ‘static void EntityInterface<Grid, 0, dim, true>::check(const typename Grid::Codim<0>::Entity&, bool) [with Grid = Dune::OneDGrid, int dim = 1]’ ../../../../dune/grid/test/staticcheck.hh:331: instantiated from ‘EntityInterface<Grid, 0, dim, true>::EntityInterface() [with Grid = Dune::OneDGrid, int dim = 1]’ ../../../../dune/grid/test/staticcheck.hh:495: instantiated from ‘static void GridInterface<Grid>::check(const Grid&) [with Grid = Dune::OneDGrid]’ ../../../../dune/grid/test/staticcheck.hh:503: instantiated from ‘GridInterface<Grid>::GridInterface() [with Grid = Dune::OneDGrid]’ ../../../../dune/grid/test/gridcheck.cc:848: instantiated from ‘void gridcheck(Grid&) [with Grid = Dune::OneDGrid]’ structuredgridfactorytest.cc:45: instantiated from here ../../../../dune/grid/test/staticcheck.hh:194: warning: ‘int Dune::Intersection<GridImp, IntersectionImp>::boundaryId() const [with GridImp = const Dune::OneDGrid, IntersectionImp = Dune::OneDGridLevelIntersection<const Dune::OneDGrid>]’ is deprecated (declared at ../../../../dune/grid/common/intersection.hh:244) make[5]: *** [structuredgridfactorytest-structuredgridfactorytest.o] Fehler 1 make[5]: Leaving directory
/home/mblatt/buildbot-slave1/DUNE-1/git/master/dune-grid/dune/grid/utility/test'
make[4]: *** [check-am] Fehler 2