[Dune] better DEPRECATE

Oliver Sander sander at mi.fu-berlin.de
Sun Nov 28 10:36:06 CET 2010


Hi Andreas!
At the meeting we decided that the DUNE_DEPRECATED macro should be improved
to include an actual text message, possibly using existing technology 
from dune-fem.
Maybe you, as a dune-fem expert, could take care of that?

best,
Oliver

Am 28.11.2010 00:24, schrieb Andreas Dedner:
> Hi.
> We should really try to document what to replace deprecated method with:
> That is really important for the users I think.
> GeometryType::basicType() is for example used in the virtualrefinement
> and I do not really know what to replace it with.
>
> Andreas
>
> PS: Compiler output
> /grid/common/virtualrefinement.cc:489:105: warning: 
> ‘Dune::GeometryType::BasicType Dune::GeometryType::basicType() const’ 
> is deprecated (declared at 
> /home/maths/masjal/DUNE/dune-common/dune/common/geometrytype.hh:246)
> There are two more places in dune-grid:
> ./common/test/test-genericquadrature.cc:28: switch (t.basicType())
> ./common/test/test-quadrature.cc:25: switch (t.basicType())
>
>
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune


-- 
************************************************************************
* Oliver Sander                ** email: sander at mi.fu-berlin.de        *
* Freie Universität Berlin     ** phone: + 49 (30) 838 75348           *
* Institut für Mathematik      ** URL  : page.mi.fu-berlin.de/~sander  *
* Arnimallee 6                 ** -------------------------------------*
* 14195 Berlin, Germany        ** Member of MATHEON (www.matheon.de)   *
************************************************************************





More information about the Dune mailing list