You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Justin Ross (JIRA)" <ji...@apache.org> on 2016/12/03 14:48:59 UTC
[jira] [Reopened] (PROTON-1369) Use a macro to warn about
deprecated function use
[ https://issues.apache.org/jira/browse/PROTON-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Ross reopened PROTON-1369:
---------------------------------
> Use a macro to warn about deprecated function use
> -------------------------------------------------
>
> Key: PROTON-1369
> URL: https://issues.apache.org/jira/browse/PROTON-1369
> Project: Qpid Proton
> Issue Type: Bug
> Components: proton-c
> Reporter: Ken Giusti
> Assignee: Justin Ross
> Priority: Trivial
> Labels: api
> Fix For: 0.17.0
>
>
> Once PROTON-225 is implemented, we should eventually remove the old interfaces after marking them deprecated.
> Example:
> #ifdef __GNUC__
> #define DEPRECATED(func) func __attribute__ ((deprecated))
> #elif defined(_MSC_VER)
> #define DEPRECATED(func) __declspec(deprecated) func
> #else
> #pragma message("WARNING: You need to implement DEPRECATED for this compiler")
> #define DEPRECATED(func) func
> #endif
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org