[Dune] [Dune-Commit] dune-common r6141 - trunk/dune/common
Oliver Sander
sander at mi.fu-berlin.de
Thu Sep 9 14:11:24 CEST 2010
Hi Christian!
> I'm somewhat surprised... why did you deprecate the heaer. It was
> explicitly introduced, to make the code portable, even if the config.h
> is missing.
>
I was assuming that config.h would always be there.
And why would I need the file, then? If you want to
handle situations without config.h then I guess we
need it. But this was never documented.
best,
Oliver
> The feature was always in config.h, but there were certain problems
> using dune without config.h if you didn't have this file.
>
> I still believe, we can not remove the header.
>
> Christian
>
>
> On Thu, Sep 09, 2010 at 10:04:11AM +0200, sander at dune-project.org wrote:
>
>> Author: sander
>> Date: 2010-09-09 10:04:10 +0200 (Thu, 09 Sep 2010)
>> New Revision: 6141
>>
>> Modified:
>> trunk/dune/common/deprecated.hh
>> Log:
>> Mark this file as deprecated. Its functionality is actually fully
>> provided by config.h.
>>
>>
>> Modified: trunk/dune/common/deprecated.hh
>> ===================================================================
>> --- trunk/dune/common/deprecated.hh 2010-09-09 05:19:57 UTC (rev 6140)
>> +++ trunk/dune/common/deprecated.hh 2010-09-09 08:04:10 UTC (rev 6141)
>> @@ -1,6 +1,8 @@
>> #ifndef DUNE_DEPRECATED_HH
>> #define DUNE_DEPRECATED_HH
>>
>> +#warning This file has been deprecated in dune-common 2.1. There is no replacement, you may simply omit it.
>> +
>> //! @addtogroup Common
>> //! @{
>> #if defined(DOXYGEN) or not defined(DUNE_DEPRECATED)
>>
>>
>> _______________________________________________
>> Dune-Commit mailing list
>> Dune-Commit at dune-project.org
>> http://lists.dune-project.org/mailman/listinfo/dune-commit
>>
>>
> _______________________________________________
> 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