#1564 g++-4.4: grid checks fail to compile due ambiguity and mssing conversions in Entities
Metadata
Property | Value |
---|---|
Reported by | Markus Blatt (markus@dr-blatt.de) |
Reported at | Feb 12, 2015 14:49 |
Type | Bug Report |
Version | Git (pre2.4) [autotools] |
Operating System | Unspecified / All |
Last edited by | Steffen Müthing (steffen.muething@iwr.uni-heidelberg.de) |
Last edited at | Feb 13, 2015 17:00 |
Closed by | Steffen Müthing (steffen.muething@iwr.uni-heidelberg.de) |
Closed at | Feb 13, 2015 17:00 |
Closed in version | Unknown |
Resolution | Fixed |
Comment | I forgot to add the required define to test-identitygrid in the last patch because I just grepped for existing CPPFLAGS, but test-identitygrid didn't have any. |
Thanks!
Fixed in 1911a03 |
Description
See the attached build log.
/home/mblatt/src/dune/current/dune-grid/dune/grid/test/gridcheck.hh:210: error: conversion from ‘Dune::EntityPointer<const Dune::AlbertaGrid<2, 2>, Dune::AlbertaGridEntityPointer<0, const Dune::AlbertaGrid<2, 2> > >’ to non-scalar type ‘zeroEntityConsistency(Grid&) [with Grid = Dune::AlbertaGrid<2, 2>]::Entity’ requested ... /home/mblatt/src/dune/current/dune-grid/dune/grid/common/indexidset.hh:425: error: no matching function for call to ‘Dune::AlbertaGridIdSet<2, 2>::id(const Dune::EntityPointer<const Dune::AlbertaGrid<2, 2>, Dune::AlbertaGridEntityPointer<2, const Dune::AlbertaGrid<2, 2> > >&) const’
I have seen similar ones for YaspGrid in one of my automated builds: checkgeometryinfather.hh:94: error: conversion from ‘Dune::EntityPointer<const Dune::GeometryGrid<Dune::YaspGrid<2, Dune::EquidistantCoordinates<double, 2> >, Dune::IdenticalCoordFunction<double, 2u>, std::allocator >, Dune::GeoGrid::EntityPointer<Dune::GeoGrid::EntityPointerTraits<0, const Dune::GeometryGrid<Dune::YaspGrid<2, Dune::EquidistantCoordinates<double, 2> >, Dune::IdenticalCoordFunction<double, 2u>, std::allocator > >, false> >’ to non-scalar type ‘checkGeometryInFather(const GridType&) [with GridType = Dune::GeometryGrid<Dune::YaspGrid<2, Dune::EquidistantCoordinates<double, 2> >, Dune::IdenticalCoordFunction<double, 2u>, std::allocator >]::Entity’ requested
For more see http://plagula.de:8010/builders/dune-grid%20test/builds/467/steps/check/logs/stdio