[Dune] [#956] DUNE_DEPRECATED should have a variant with a message

Dune flyspray at dune-project.org
Wed Oct 5 01:29:55 CEST 2011


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#956 - DUNE_DEPRECATED should have a variant with a message
User who did this - Jö Fahlke (joe)

----------
The base revision for the patch was apparently (r6507), the last version that didn't include this feature at all.

At least config.h looks fine with the new patch:
======================================================================
/* does the compiler support __attribute__((deprecated))? */
#define HAS_ATTRIBUTE_DEPRECATED 1

/* does the compiler support __attribute__((deprecated("text"))? */
/* #undef HAS_ATTRIBUTE_DEPRECATED_MSG */
======================================================================
I'm going to try a full build of dune-common and some other module tomorrow.

Making deprecated.hh mandatory for DUNE_DEPRECATED may give some people headaches, though.  Not sure this is a good idea.  DUNE_DEPRECATED_MSG is another matter, since it is a new feature there should be no problem with requiring deprecated.hh for that.
----------

More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=956#comment2739

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.




More information about the Dune mailing list