[Dune] [#956] DUNE_DEPRECATED should have a variant with a message (Attachment added)
Dune
flyspray at dune-project.org
Wed Sep 28 19:01:52 CEST 2011
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Andreas Lauser (andlaus)
Attached to Project - Dune
Summary - DUNE_DEPRECATED should have a variant with a message
Task Type - Bug Report
Category - Dune Core Modules
Status - Unconfirmed
Assigned To -
Operating System - Unspecified / All
Severity - Low
Priority - Normal
Reported Version - 2.1
Due in Version - Undecided
Due Date - Undecided
Details - I am constantly annoyed by stuff which gets deprecated, but there is no indication of what is the new and shiny way to do things. Reading http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html I recently stumbled over the fact that GCC supports a message parameter for __attribute__((deprecated)) and thought this is a great idea. Without further ado, here is my patch which adds a DUNE_DEPRECATED_MSG("message") macro to config.h. I'm not completely sure whether my auto%ยง$-foo is good enough and whether it also
works for non-GCC compilers, but at least for me it works.
One or more files have been attached.
More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=956
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