Skip to content

#498 Deprecated Warning in dgfparser.hh

Metadata

Property Value
Reported by Patrick Leidenberger (mailings.pl@gmail.com)
Reported at Feb 16, 2009 15:42
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 Feb 16, 2009 16:34
Closed by Martin Nolte (nolte@mathematik.uni-freiburg.de)
Closed at Feb 16, 2009 16:34
Closed in version Unknown
Resolution Fixed
Comment fixed in revision 4857

Description

Hi All,

There are two a deprecated warnings in the dgfparser.hh at: line 271 line 280 regarding the the [] operator for a geometry object. Details see below.

Best regards Patrick

/home/patrick/dune/dune-grid/dune/grid/io/file/dgfparser/dgfparser.hh:271: warning: 'const Dune::FieldVector<typename GridImp::ctype, cdim>& Dune::Geometry<mydim, cdim, GridImp, GeometryImp>::operator const [with int mydim = 2, int cdim = 2, GridImp = const Dune::ALU2dGrid<2, 2>, GeometryImp = Dune::ALU2dGridGeometry]' is deprecated (declared at /home/patrick/dune/dune-grid/dune/grid/common/geometry.hh:104)

/home/patrick/dune/dune-grid/dune/grid/io/file/dgfparser/dgfparser.hh:280: warning: 'const Dune::FieldVector<typename GridImp::ctype, cdim>& Dune::Geometry<mydim, cdim, GridImp, GeometryImp>::operator const [with int mydim = 2, int cdim = 2, GridImp = const Dune::ALU2dGrid<2, 2>, GeometryImp = Dune::ALU2dGridGeometry]' is deprecated (declared at /home/patrick/dune/dune-grid/dune/grid/common/geometry.hh:104)