You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Ben Craig (JIRA)" <ji...@apache.org> on 2013/08/29 18:58:51 UTC
[jira] [Closed] (THRIFT-2037) More general macro
THRIFT_UNUSED_VARIABLE
[ https://issues.apache.org/jira/browse/THRIFT-2037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ben Craig closed THRIFT-2037.
-----------------------------
> More general macro THRIFT_UNUSED_VARIABLE
> -----------------------------------------
>
> Key: THRIFT-2037
> URL: https://issues.apache.org/jira/browse/THRIFT-2037
> Project: Thrift
> Issue Type: Improvement
> Components: C++ - Library
> Reporter: Konrad Grochowski
> Assignee: Ben Craig
> Priority: Minor
> Attachments: thrift-2037-more_general_macro.patch
>
>
> {code}(x)=(x){code}
> cannot be used everywhere (ex. for consts)
> {code}((void)x){code} is generally supported way to suppress "unused parameter" warning
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira