You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2013/09/02 21:24:52 UTC

[jira] [Commented] (THRIFT-2160) Warning in thrift.h when compiling with -Wunused and NDEBUG

    [ https://issues.apache.org/jira/browse/THRIFT-2160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13756213#comment-13756213 ] 

Hudson commented on THRIFT-2160:
--------------------------------

SUCCESS: Integrated in Thrift #882 (See [https://builds.apache.org/job/Thrift/882/])
THRIFT-2160 Warning in thrift.h when compiling with -Wunused and NDEBUG (roger: rev acf15dc30429d609735efc7686f197607d8923d1)
* lib/cpp/src/thrift/Thrift.h

                
> Warning in thrift.h when compiling with -Wunused and NDEBUG
> -----------------------------------------------------------
>
>                 Key: THRIFT-2160
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2160
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library
>    Affects Versions: 0.9
>         Environment: gcc 4.7
> Linux
>            Reporter: Frank Meerkoetter
>            Assignee: Roger Meier
>            Priority: Minor
>         Attachments: warning.patch
>
>
> I get a warning for an unused parameter when doing release builds (as the assert macro is expanded to nothing). This breaks my build as i am also using -Werror.

--
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